Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 106.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 210.4 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.201/3.201, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 68.67 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3463, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.008011/0.3543, allocations: 4.846 MB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1908/0.5452, allocations: 154 MB / 1.476 GB, free: 3.43 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008767/0.546, allocations: 27.81 kB / 1.476 GB, free: 3.402 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.5467, allocations: 198.2 kB / 1.477 GB, free: 3.207 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.5484, allocations: 0.5484 MB / 1.477 GB, free: 2.656 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.5504, allocations: 0.8538 MB / 1.478 GB, free: 1.809 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001682/0.5521, allocations: 1.397 MB / 1.479 GB, free: 416 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008029/0.5529, allocations: 409.5 kB / 1.48 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008026/0.5537, allocations: 0.4944 MB / 1.48 GB, free: 15.48 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007053/0.5544, allocations: 0.5071 MB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.5546, allocations: 116 kB / 1.481 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.5556, allocations: 0.5074 MB / 1.481 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.5559, allocations: 299 kB / 1.482 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.5565, allocations: 0.5519 MB / 1.482 GB, free: 13.51 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.5587, allocations: 1.658 MB / 1.484 GB, free: 11.84 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5587, allocations: 0 / 1.484 GB, free: 11.84 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5587, allocations: 4 kB / 1.484 GB, free: 11.84 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.5587, allocations: 0 / 1.484 GB, free: 11.84 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002912/0.5616, allocations: 1.482 MB / 1.485 GB, free: 10.31 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.5617, allocations: 11.98 kB / 1.485 GB, free: 10.3 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.5632, allocations: 228 kB / 1.485 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.5645, allocations: 0.7748 MB / 1.486 GB, free: 9.258 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.5646, allocations: 62 kB / 1.486 GB, free: 9.195 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.5647, allocations: 76 kB / 1.486 GB, free: 9.121 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.5663, allocations: 0.9028 MB / 1.487 GB, free: 8.18 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5664, allocations: 0 / 1.487 GB, free: 8.18 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.5665, allocations: 32 kB / 1.487 GB, free: 8.148 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.5665, allocations: 24 kB / 1.487 GB, free: 8.125 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.5683, allocations: 1.1 MB / 1.488 GB, free: 7.02 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/0.5725, allocations: 2.724 MB / 1.491 GB, free: 4.164 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.5742, allocations: 0.8131 MB / 1.492 GB, free: 3.324 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.5747, allocations: 286.1 kB / 1.492 GB, free: 3.039 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.107e-05/0.5748, allocations: 28.61 kB / 1.492 GB, free: 3.012 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009002/0.5757, allocations: 492.7 kB / 1.492 GB, free: 2.512 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.265e-06/0.5757, allocations: 0 / 1.492 GB, free: 2.512 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003423/0.5791, allocations: 1.186 MB / 1.494 GB, free: 1.301 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.5793, allocations: 196.6 kB / 1.494 GB, free: 1.066 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009121/0.5802, allocations: 0.6449 MB / 1.494 GB, free: 424 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.5803, allocations: 41.7 kB / 1.495 GB, free: 376 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.5806, allocations: 401 kB / 1.495 GB, free: 15.97 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.5809, allocations: 269.7 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.5811, allocations: 162.6 kB / 1.495 GB, free: 15.54 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.5813, allocations: 390.7 kB / 1.496 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.5819, allocations: 265.8 kB / 1.496 GB, free: 14.89 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/0.5826, allocations: 355.1 kB / 1.496 GB, free: 14.53 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5838, allocations: 0.5994 MB / 1.497 GB, free: 13.92 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5838, allocations: 0 / 1.497 GB, free: 13.92 MB / 1.201 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00216/0.5859, allocations: 0.8492 MB / 1.498 GB, free: 13.06 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5859, allocations: 8.094 kB / 1.498 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.586, allocations: 4 kB / 1.498 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006471/0.5866, allocations: 76.78 kB / 1.498 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.5873, allocations: 159.8 kB / 1.498 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.5897, allocations: 1.634 MB / 1.5 GB, free: 11.03 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/0.5905, allocations: 103.4 kB / 1.5 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.5906, allocations: 31.98 kB / 1.5 GB, free: 10.9 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.000492/0.5911, allocations: 269.1 kB / 1.5 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.5913, allocations: 87.44 kB / 1.5 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.5938, allocations: 1.054 MB / 1.501 GB, free: 9.473 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.5938, allocations: 12 kB / 1.501 GB, free: 9.461 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5938, allocations: 0 / 1.501 GB, free: 9.461 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5938, allocations: 7.922 kB / 1.501 GB, free: 9.453 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.5972, allocations: 1.916 MB / 1.503 GB, free: 7.473 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5972, allocations: 0 / 1.503 GB, free: 7.473 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.5978, allocations: 147.7 kB / 1.503 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.5982, allocations: 72.78 kB / 1.503 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.5983, allocations: 27.98 kB / 1.503 GB, free: 7.227 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.6004, allocations: 1.666 MB / 1.505 GB, free: 5.414 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6004, allocations: 4.031 kB / 1.505 GB, free: 5.41 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.6026, allocations: 0.9867 MB / 1.506 GB, free: 4.406 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.603, allocations: 276.2 kB / 1.506 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.6031, allocations: 20 kB / 1.506 GB, free: 4.098 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.6038, allocations: 60 kB / 1.506 GB, free: 4.039 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.6039, allocations: 80.89 kB / 1.506 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.604, allocations: 27.98 kB / 1.506 GB, free: 3.934 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006898/0.6047, allocations: 475 kB / 1.507 GB, free: 3.477 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6047, allocations: 0 / 1.507 GB, free: 3.477 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001014/0.6057, allocations: 319.2 kB / 1.507 GB, free: 3.164 MB / 1.201 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.002025/0.6077, allocations: 0.613 MB / 1.508 GB, free: 2.723 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.6097, allocations: 0.796 MB / 1.508 GB, free: 1.91 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6097, allocations: 0 / 1.508 GB, free: 1.91 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/0.6107, allocations: 488.4 kB / 1.509 GB, free: 1.422 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.6121, allocations: 298.4 kB / 1.509 GB, free: 1.148 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.6155, allocations: 1.658 MB / 1.511 GB, free: 15.46 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.6162, allocations: 1.025 MB / 1.512 GB, free: 14.41 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008058/0.617, allocations: 262.7 kB / 1.512 GB, free: 14.15 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.6173, allocations: 107.4 kB / 1.512 GB, free: 14.05 MB / 1.217 GB Notification: Performance of SimCode: time 1.143e-06/0.6173, allocations: 0 / 1.512 GB, free: 14.05 MB / 1.217 GB Notification: Performance of Templates: time 0.02848/0.6458, allocations: 15.38 MB / 1.527 GB, free: 14.84 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: 9.565371050033718]