Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001828/0.001828, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002271/0.002271, allocations: 207.7 kB / 22.99 MB, free: 4.984 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [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.002117/0.002117, allocations: 62.91 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3312, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006866/0.3381, allocations: 4.48 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.5046, allocations: 132.7 MB / 1.461 GB, free: 7.309 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.5055, allocations: 23.81 kB / 1.461 GB, free: 7.285 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.5061, allocations: 202.2 kB / 1.461 GB, free: 7.086 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.5079, allocations: 0.5743 MB / 1.462 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.51, allocations: 0.8756 MB / 1.463 GB, free: 5.641 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.5116, allocations: 1.452 MB / 1.464 GB, free: 4.184 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.5124, allocations: 429.9 kB / 1.464 GB, free: 3.738 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.513, allocations: 0.5256 MB / 1.465 GB, free: 3.211 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.5137, allocations: 0.5345 MB / 1.466 GB, free: 2.676 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.5138, allocations: 120 kB / 1.466 GB, free: 2.559 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009838/0.5148, allocations: 0.4918 MB / 1.466 GB, free: 2.066 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.5151, allocations: 315 kB / 1.466 GB, free: 1.758 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.5156, allocations: 481.6 kB / 1.467 GB, free: 1.285 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.5176, allocations: 1.72 MB / 1.469 GB, free: 15.56 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5176, allocations: 4 kB / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5176, allocations: 0 / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.5176, allocations: 0 / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002796/0.5204, allocations: 1.444 MB / 1.47 GB, free: 14.07 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5204, allocations: 12.03 kB / 1.47 GB, free: 14.06 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.5222, allocations: 256 kB / 1.47 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.5235, allocations: 0.7259 MB / 1.471 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.5236, allocations: 62 kB / 1.471 GB, free: 13 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5237, allocations: 84 kB / 1.471 GB, free: 12.91 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.5255, allocations: 1.193 MB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.5256, allocations: 7.938 kB / 1.472 GB, free: 11.61 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-05/0.5257, allocations: 36 kB / 1.472 GB, free: 11.58 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.5257, allocations: 20 kB / 1.472 GB, free: 11.56 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.5275, allocations: 1.085 MB / 1.473 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.5314, allocations: 2.123 MB / 1.475 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.533, allocations: 0.7819 MB / 1.476 GB, free: 7.496 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.5335, allocations: 283.3 kB / 1.476 GB, free: 7.219 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.219e-05/0.5336, allocations: 28.62 kB / 1.476 GB, free: 7.191 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.5346, allocations: 0.618 MB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.615e-06/0.5346, allocations: 0 / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003503/0.5381, allocations: 1.18 MB / 1.478 GB, free: 5.34 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.5382, allocations: 192.9 kB / 1.478 GB, free: 5.109 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/0.5391, allocations: 0.6174 MB / 1.479 GB, free: 4.484 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.296e-05/0.5391, allocations: 41.7 kB / 1.479 GB, free: 4.438 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.5395, allocations: 409.1 kB / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.5397, allocations: 293.6 kB / 1.48 GB, free: 3.742 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.54, allocations: 166.6 kB / 1.48 GB, free: 3.574 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5402, allocations: 390.7 kB / 1.48 GB, free: 3.184 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.5408, allocations: 273.9 kB / 1.481 GB, free: 2.914 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.5415, allocations: 0.4957 MB / 1.481 GB, free: 2.375 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.5427, allocations: 0.6242 MB / 1.482 GB, free: 1.742 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5427, allocations: 3.938 kB / 1.482 GB, free: 1.738 MB / 1.17 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00215/0.5449, allocations: 0.8804 MB / 1.482 GB, free: 0.8438 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5449, allocations: 4 kB / 1.483 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5449, allocations: 0 / 1.483 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.5456, allocations: 88.8 kB / 1.483 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/0.5463, allocations: 171.8 kB / 1.483 GB, free: 0.582 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.5486, allocations: 1.5 MB / 1.484 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.5494, allocations: 87.67 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.5494, allocations: 39.97 kB / 1.484 GB, free: 14.85 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.000491/0.5499, allocations: 276 kB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.5501, allocations: 83.48 kB / 1.485 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/0.5528, allocations: 1.136 MB / 1.486 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.5528, allocations: 8 kB / 1.486 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5528, allocations: 4 kB / 1.486 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.5528, allocations: 7.922 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.5562, allocations: 1.759 MB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5562, allocations: 0 / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.5569, allocations: 151.8 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/0.5573, allocations: 72.78 kB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.5574, allocations: 23.98 kB / 1.488 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.5594, allocations: 1.524 MB / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5594, allocations: 0 / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.5617, allocations: 1.053 MB / 1.49 GB, free: 8.574 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/0.5621, allocations: 215 kB / 1.49 GB, free: 8.363 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.5623, allocations: 28.02 kB / 1.491 GB, free: 8.336 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007453/0.563, allocations: 67.92 kB / 1.491 GB, free: 8.27 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.5632, allocations: 72.86 kB / 1.491 GB, free: 8.199 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.5632, allocations: 43.97 kB / 1.491 GB, free: 8.156 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005768/0.5638, allocations: 443 kB / 1.491 GB, free: 7.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5638, allocations: 0 / 1.491 GB, free: 7.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009181/0.5647, allocations: 339.1 kB / 1.491 GB, free: 7.398 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002096/0.5668, allocations: 0.6592 MB / 1.492 GB, free: 6.941 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.5686, allocations: 0.8353 MB / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5686, allocations: 0 / 1.493 GB, free: 6.094 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5696, allocations: 0.5041 MB / 1.493 GB, free: 5.578 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5708, allocations: 290 kB / 1.494 GB, free: 5.312 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.574, allocations: 1.737 MB / 1.495 GB, free: 3.543 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.5745, allocations: 453.1 kB / 1.496 GB, free: 3.066 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007822/0.5753, allocations: 266.5 kB / 1.496 GB, free: 2.801 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.5756, allocations: 119.4 kB / 1.496 GB, free: 2.684 MB / 1.186 GB Notification: Performance of SimCode: time 8.32e-07/0.5756, allocations: 0 / 1.496 GB, free: 2.684 MB / 1.186 GB Notification: Performance of Templates: time 0.02901/0.6046, allocations: 17.05 MB / 1.513 GB, free: 1.895 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.452147584990598]