Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.00173/0.00173, 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.002123/0.002123, allocations: 210.4 kB / 22.98 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.204/3.204, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [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.002066/0.002066, allocations: 70.62 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3069, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00676/0.3137, allocations: 4.499 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.4779, allocations: 132.7 MB / 1.461 GB, free: 7.285 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.4787, allocations: 23.81 kB / 1.461 GB, free: 7.262 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.4793, allocations: 206.1 kB / 1.461 GB, free: 7.059 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.481, allocations: 0.567 MB / 1.462 GB, free: 6.492 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.483, allocations: 0.8785 MB / 1.463 GB, free: 5.621 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.4846, allocations: 1.464 MB / 1.464 GB, free: 4.152 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.4853, allocations: 422.8 kB / 1.465 GB, free: 3.715 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007184/0.486, allocations: 0.5256 MB / 1.465 GB, free: 3.188 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.4867, allocations: 0.5329 MB / 1.466 GB, free: 2.652 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.4869, allocations: 120 kB / 1.466 GB, free: 2.535 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.488, allocations: 0.4996 MB / 1.466 GB, free: 2.035 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.4883, allocations: 319 kB / 1.466 GB, free: 1.723 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005226/0.4888, allocations: 473.7 kB / 1.467 GB, free: 1.258 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.491, allocations: 1.735 MB / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.491, allocations: 0 / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.262e-06/0.491, allocations: 0 / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.007e-05/0.491, allocations: 4 kB / 1.469 GB, free: 15.51 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002868/0.4939, allocations: 1.449 MB / 1.47 GB, free: 14.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4939, allocations: 12.03 kB / 1.47 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.4957, allocations: 252 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.4971, allocations: 0.7298 MB / 1.471 GB, free: 13.01 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.4972, allocations: 66 kB / 1.471 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.4973, allocations: 83.98 kB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.4992, allocations: 1.197 MB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4993, allocations: 0 / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.4993, allocations: 36 kB / 1.472 GB, free: 11.53 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.4994, allocations: 20 kB / 1.472 GB, free: 11.51 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.5012, allocations: 1.089 MB / 1.473 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.5053, allocations: 2.135 MB / 1.476 GB, free: 8.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.5069, allocations: 0.7803 MB / 1.476 GB, free: 7.438 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005741/0.5075, allocations: 294.7 kB / 1.477 GB, free: 7.145 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.707e-05/0.5076, allocations: 24.64 kB / 1.477 GB, free: 7.121 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.5086, allocations: 0.6167 MB / 1.477 GB, free: 6.465 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.474e-06/0.5086, allocations: 0 / 1.477 GB, free: 6.465 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003532/0.5121, allocations: 1.18 MB / 1.478 GB, free: 5.273 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.5122, allocations: 192.9 kB / 1.479 GB, free: 5.043 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/0.5131, allocations: 0.6135 MB / 1.479 GB, free: 4.422 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.5132, allocations: 49.64 kB / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.5135, allocations: 417 kB / 1.48 GB, free: 3.953 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.5137, allocations: 293.7 kB / 1.48 GB, free: 3.664 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.514, allocations: 174.5 kB / 1.48 GB, free: 3.488 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.5142, allocations: 390.7 kB / 1.48 GB, free: 3.098 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.5148, allocations: 277.8 kB / 1.481 GB, free: 2.824 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.5156, allocations: 0.4965 MB / 1.481 GB, free: 2.281 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.5168, allocations: 0.6406 MB / 1.482 GB, free: 1.625 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5168, allocations: 4.062 kB / 1.482 GB, free: 1.621 MB / 1.17 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002264/0.5191, allocations: 0.8844 MB / 1.483 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5191, allocations: 5.719 kB / 1.483 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5191, allocations: 4 kB / 1.483 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006977/0.5198, allocations: 88.83 kB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.5206, allocations: 171.7 kB / 1.483 GB, free: 472 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.5229, allocations: 1.502 MB / 1.484 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.5237, allocations: 99.66 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.5238, allocations: 31.98 kB / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004931/0.5243, allocations: 282 kB / 1.485 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.5245, allocations: 83.67 kB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.5272, allocations: 1.136 MB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5272, allocations: 11.98 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5272, allocations: 3.938 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5272, allocations: 11.97 kB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.5307, allocations: 1.767 MB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.5307, allocations: 4 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006607/0.5313, allocations: 151.8 kB / 1.488 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.5318, allocations: 68.78 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/0.5319, allocations: 27.98 kB / 1.488 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.5339, allocations: 1.52 MB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5339, allocations: 3.938 kB / 1.489 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.5362, allocations: 1.053 MB / 1.49 GB, free: 8.418 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.5367, allocations: 214.9 kB / 1.491 GB, free: 8.207 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.5369, allocations: 24 kB / 1.491 GB, free: 8.184 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.5376, allocations: 63.92 kB / 1.491 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.5378, allocations: 84.78 kB / 1.491 GB, free: 8.039 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/0.5379, allocations: 39.98 kB / 1.491 GB, free: 8 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006136/0.5385, allocations: 443 kB / 1.491 GB, free: 7.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5385, allocations: 4 kB / 1.491 GB, free: 7.566 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009358/0.5395, allocations: 347.1 kB / 1.492 GB, free: 7.227 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 (100): * Single equations (assignments): 93 * 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.0021/0.5416, allocations: 0.6408 MB / 1.492 GB, free: 6.793 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.5435, allocations: 0.8353 MB / 1.493 GB, free: 5.945 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5435, allocations: 0 / 1.493 GB, free: 5.945 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5445, allocations: 0.5158 MB / 1.494 GB, free: 5.418 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.5458, allocations: 298.6 kB / 1.494 GB, free: 5.145 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.549, allocations: 1.737 MB / 1.496 GB, free: 3.379 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.5495, allocations: 453.2 kB / 1.496 GB, free: 2.902 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008184/0.5503, allocations: 278.6 kB / 1.496 GB, free: 2.625 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.5506, allocations: 119.3 kB / 1.496 GB, free: 2.508 MB / 1.186 GB Notification: Performance of SimCode: time 7.12e-07/0.5506, allocations: 0 / 1.496 GB, free: 2.508 MB / 1.186 GB Notification: Performance of Templates: time 0.03011/0.5807, allocations: 17.07 MB / 1.513 GB, free: 1.715 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.407287983995047]