Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 106.8 kB / 16.4 MB, free: 6.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 192.7 kB / 19.36 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.049/3.049, allocations: 489.1 MB / 0.7678 GB, free: 29.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.91 kB / 1.101 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8317/0.8336, allocations: 163.8 MB / 1.261 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00796/0.8416, allocations: 5.963 MB / 1.267 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1725/1.014, allocations: 150.8 MB / 1.414 GB, free: 9.66 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/1.015, allocations: 19.88 kB / 1.414 GB, free: 9.641 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009696/1.016, allocations: 233.7 kB / 1.414 GB, free: 9.41 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/1.019, allocations: 0.6323 MB / 1.415 GB, free: 8.777 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/1.021, allocations: 0.8745 MB / 1.416 GB, free: 7.91 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0025/1.024, allocations: 1.654 MB / 1.417 GB, free: 6.25 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/1.025, allocations: 0.8656 MB / 1.418 GB, free: 5.348 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/1.026, allocations: 0.6112 MB / 1.419 GB, free: 4.734 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/1.027, allocations: 0.6612 MB / 1.42 GB, free: 4.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004196/1.028, allocations: 152 kB / 1.42 GB, free: 3.922 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/1.029, allocations: 0.5113 MB / 1.42 GB, free: 3.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005626/1.03, allocations: 378.8 kB / 1.421 GB, free: 3.039 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/1.031, allocations: 0.7307 MB / 1.421 GB, free: 2.305 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003479/1.035, allocations: 2.049 MB / 1.423 GB, free: 256 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.035, allocations: 4 kB / 1.423 GB, free: 252 kB / 1.123 GB Notification: Performance of FrontEnd: time 2.174e-06/1.035, allocations: 4 kB / 1.423 GB, free: 248 kB / 1.123 GB Notification: Performance of Transformations before backend: time 7.321e-05/1.035, allocations: 0 / 1.423 GB, free: 248 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003842/1.039, allocations: 1.761 MB / 1.425 GB, free: 14.42 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.039, allocations: 8.031 kB / 1.425 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/1.039, allocations: 181.8 kB / 1.425 GB, free: 14.22 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/1.04, allocations: 227.8 kB / 1.425 GB, free: 14 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.041, allocations: 0.8799 MB / 1.426 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/1.042, allocations: 94.41 kB / 1.426 GB, free: 12.98 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.042, allocations: 112 kB / 1.426 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/1.044, allocations: 1.202 MB / 1.428 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.044, allocations: 0 / 1.428 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.044, allocations: 52 kB / 1.428 GB, free: 11.55 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/1.044, allocations: 31.98 kB / 1.428 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/1.046, allocations: 1.289 MB / 1.429 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/1.052, allocations: 3.698 MB / 1.433 GB, free: 6.316 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/1.053, allocations: 0.8648 MB / 1.433 GB, free: 5.445 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/1.054, allocations: 322.7 kB / 1.434 GB, free: 5.129 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-05/1.054, allocations: 32.61 kB / 1.434 GB, free: 5.098 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009467/1.055, allocations: 0.5213 MB / 1.434 GB, free: 4.562 MB / 1.139 GB Notification: Performance of pre-optimization done (n=87): time 2.544e-06/1.055, allocations: 3.938 kB / 1.434 GB, free: 4.559 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.003433/1.059, allocations: 1.294 MB / 1.436 GB, free: 3.238 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/1.059, allocations: 188.9 kB / 1.436 GB, free: 3.012 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.06, allocations: 0.7392 MB / 1.436 GB, free: 2.258 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/1.06, allocations: 45.7 kB / 1.436 GB, free: 2.207 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/1.06, allocations: 0.5281 MB / 1.437 GB, free: 1.672 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/1.061, allocations: 293.5 kB / 1.437 GB, free: 1.383 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/1.061, allocations: 158.6 kB / 1.437 GB, free: 1.223 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.061, allocations: 338 kB / 1.438 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/1.062, allocations: 273.8 kB / 1.438 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/1.062, allocations: 386.5 kB / 1.438 GB, free: 220 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.063, allocations: 0.632 MB / 1.439 GB, free: 15.57 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.063, allocations: 0 / 1.439 GB, free: 15.57 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002123/1.066, allocations: 0.8842 MB / 1.44 GB, free: 14.68 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.066, allocations: 11.94 kB / 1.44 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.066, allocations: 0 / 1.44 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/1.066, allocations: 80.98 kB / 1.44 GB, free: 14.58 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/1.067, allocations: 171.6 kB / 1.44 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/1.069, allocations: 1.623 MB / 1.442 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/1.07, allocations: 103.4 kB / 1.442 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/1.07, allocations: 40.03 kB / 1.442 GB, free: 12.51 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005298/1.071, allocations: 289.6 kB / 1.442 GB, free: 12.21 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/1.071, allocations: 95.39 kB / 1.442 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/1.073, allocations: 1.133 MB / 1.443 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.073, allocations: 8 kB / 1.443 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.073, allocations: 0 / 1.443 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.073, allocations: 3.984 kB / 1.443 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/1.075, allocations: 1.06 MB / 1.444 GB, free: 9.859 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.075, allocations: 0 / 1.444 GB, free: 9.859 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/1.076, allocations: 163.7 kB / 1.445 GB, free: 9.699 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/1.076, allocations: 68.78 kB / 1.445 GB, free: 9.629 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/1.076, allocations: 31.91 kB / 1.445 GB, free: 9.598 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/1.078, allocations: 1.658 MB / 1.446 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.078, allocations: 3.984 kB / 1.446 GB, free: 7.785 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/1.08, allocations: 0.9868 MB / 1.447 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004559/1.081, allocations: 304 kB / 1.447 GB, free: 6.461 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.081, allocations: 16 kB / 1.448 GB, free: 6.445 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/1.082, allocations: 71.86 kB / 1.448 GB, free: 6.375 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.082, allocations: 72.89 kB / 1.448 GB, free: 6.305 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/1.082, allocations: 35.98 kB / 1.448 GB, free: 6.27 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007289/1.083, allocations: 0.5185 MB / 1.448 GB, free: 5.754 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.4e-07/1.083, allocations: 4 kB / 1.448 GB, free: 5.75 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009996/1.084, allocations: 386.8 kB / 1.449 GB, free: 5.371 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004335/1.088, allocations: 2.047 MB / 1.451 GB, free: 3.484 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001886/1.09, allocations: 0.8624 MB / 1.451 GB, free: 2.613 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.09, allocations: 0 / 1.451 GB, free: 2.613 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.091, allocations: 0.5473 MB / 1.452 GB, free: 2.055 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/1.092, allocations: 314.4 kB / 1.452 GB, free: 1.766 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.104, allocations: 7.067 MB / 1.459 GB, free: 10.54 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/1.105, allocations: 1.114 MB / 1.46 GB, free: 9.402 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009846/1.106, allocations: 299.6 kB / 1.461 GB, free: 9.105 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/1.107, allocations: 483.2 kB / 1.461 GB, free: 8.633 MB / 1.17 GB Notification: Performance of SimCode: time 1.132e-06/1.107, allocations: 0 / 1.461 GB, free: 8.633 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06669/1.174, allocations: 24.16 MB / 1.485 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.36, allocations: 18.12 kB / 1.485 GB, free: 0.8086 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.63195817102678]