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.001538/0.001538, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001528/0.001528, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.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.002067/0.002067, allocations: 74.72 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3333, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008179/0.3414, allocations: 4.493 MB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1793/0.5207, allocations: 132.7 MB / 1.461 GB, free: 7.223 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5218, allocations: 19.88 kB / 1.461 GB, free: 7.203 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.5225, allocations: 206.1 kB / 1.461 GB, free: 7 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.5245, allocations: 0.5788 MB / 1.462 GB, free: 6.422 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.5267, allocations: 0.8804 MB / 1.463 GB, free: 5.547 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.5286, allocations: 1.456 MB / 1.464 GB, free: 4.086 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007983/0.5294, allocations: 414.2 kB / 1.465 GB, free: 3.656 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.5302, allocations: 0.5372 MB / 1.465 GB, free: 3.117 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.5309, allocations: 0.529 MB / 1.466 GB, free: 2.586 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.5311, allocations: 120 kB / 1.466 GB, free: 2.469 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.5323, allocations: 0.4957 MB / 1.466 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.5326, allocations: 314.9 kB / 1.466 GB, free: 1.664 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005323/0.5332, allocations: 481.7 kB / 1.467 GB, free: 1.191 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.5358, allocations: 1.724 MB / 1.469 GB, free: 15.46 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5358, allocations: 0 / 1.469 GB, free: 15.46 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5358, allocations: 3.938 kB / 1.469 GB, free: 15.46 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.202e-05/0.5358, allocations: 4 kB / 1.469 GB, free: 15.45 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.002988/0.5388, allocations: 1.46 MB / 1.47 GB, free: 13.96 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5388, allocations: 8.031 kB / 1.47 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.5405, allocations: 251.9 kB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.5419, allocations: 0.7298 MB / 1.471 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/0.542, allocations: 66 kB / 1.471 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5421, allocations: 84 kB / 1.471 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.544, allocations: 1.197 MB / 1.472 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.544, allocations: 4 kB / 1.472 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/0.5441, allocations: 43.98 kB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5441, allocations: 20 kB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.546, allocations: 1.081 MB / 1.473 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/0.5502, allocations: 2.127 MB / 1.476 GB, free: 8.168 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.5518, allocations: 0.788 MB / 1.476 GB, free: 7.367 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.5524, allocations: 290.7 kB / 1.477 GB, free: 7.078 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-05/0.5525, allocations: 24.62 kB / 1.477 GB, free: 7.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009885/0.5535, allocations: 0.6217 MB / 1.477 GB, free: 6.395 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 3.126e-06/0.5535, allocations: 0 / 1.477 GB, free: 6.395 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003554/0.557, allocations: 1.184 MB / 1.478 GB, free: 5.199 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.5572, allocations: 192.9 kB / 1.479 GB, free: 4.969 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/0.5581, allocations: 0.6174 MB / 1.479 GB, free: 4.344 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.5582, allocations: 41.7 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.5586, allocations: 417.1 kB / 1.48 GB, free: 3.883 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.5588, allocations: 285.7 kB / 1.48 GB, free: 3.602 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.5591, allocations: 182.5 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5593, allocations: 386.7 kB / 1.48 GB, free: 3.031 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.5599, allocations: 281.8 kB / 1.481 GB, free: 2.754 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.5606, allocations: 0.5043 MB / 1.481 GB, free: 2.203 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.5618, allocations: 0.629 MB / 1.482 GB, free: 1.559 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5618, allocations: 4 kB / 1.482 GB, free: 1.555 MB / 1.17 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002247/0.5641, allocations: 0.8844 MB / 1.483 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5641, allocations: 4 kB / 1.483 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5641, allocations: 0 / 1.483 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005703/0.5647, allocations: 92.73 kB / 1.483 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/0.5653, allocations: 163.8 kB / 1.483 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.5675, allocations: 1.518 MB / 1.484 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.5683, allocations: 87.56 kB / 1.484 GB, free: 14.69 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.5684, allocations: 39.97 kB / 1.484 GB, free: 14.65 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.0005118/0.5689, allocations: 272.2 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.5691, allocations: 87.47 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.5716, allocations: 1.132 MB / 1.486 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5716, allocations: 12 kB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5716, allocations: 3.938 kB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.5717, allocations: 3.984 kB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.5751, allocations: 1.767 MB / 1.488 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5751, allocations: 0 / 1.488 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.5757, allocations: 159.7 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004234/0.5762, allocations: 72.78 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.5762, allocations: 31.97 kB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.5782, allocations: 1.516 MB / 1.489 GB, free: 9.434 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5782, allocations: 3.938 kB / 1.489 GB, free: 9.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.5804, allocations: 1.061 MB / 1.49 GB, free: 8.348 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/0.581, allocations: 214.9 kB / 1.491 GB, free: 8.137 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.5811, allocations: 20 kB / 1.491 GB, free: 8.117 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/0.5817, allocations: 73.8 kB / 1.491 GB, free: 8.047 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5819, allocations: 80.78 kB / 1.491 GB, free: 7.969 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.582, allocations: 39.97 kB / 1.491 GB, free: 7.93 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006184/0.5826, allocations: 447 kB / 1.491 GB, free: 7.5 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5826, allocations: 0 / 1.491 GB, free: 7.5 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009962/0.5836, allocations: 343.1 kB / 1.492 GB, free: 7.164 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.00219/0.5858, allocations: 0.6413 MB / 1.492 GB, free: 6.727 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.5878, allocations: 0.8351 MB / 1.493 GB, free: 5.879 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5878, allocations: 0 / 1.493 GB, free: 5.879 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/0.5888, allocations: 0.5082 MB / 1.494 GB, free: 5.359 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.5901, allocations: 301.9 kB / 1.494 GB, free: 5.09 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.5935, allocations: 1.743 MB / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.594, allocations: 461.1 kB / 1.496 GB, free: 2.832 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008303/0.5949, allocations: 266.6 kB / 1.496 GB, free: 2.566 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.5952, allocations: 119.4 kB / 1.496 GB, free: 2.449 MB / 1.186 GB Notification: Performance of SimCode: time 7.41e-07/0.5952, allocations: 0 / 1.496 GB, free: 2.449 MB / 1.186 GB Notification: Performance of Templates: time 0.03063/0.6258, allocations: 17.07 MB / 1.513 GB, free: 1.652 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 cvode -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.532368939020671]