Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.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.0009103/0.0009103, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.0008884/0.0008884, allocations: 166 kB / 24.87 MB, free: 9.258 MB / 18.57 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 0.9146/0.9146, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.73/1.73, allocations: 359 MB / 0.6063 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7883 GB, free: 11.15 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.65e-05, allocations: 6.25 kB / 0.7883 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005519/0.005545, allocations: 4.598 MB / 0.7928 GB, free: 6.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.1363, allocations: 143.8 MB / 0.9332 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.137, allocations: 23.81 kB / 0.9332 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1375, allocations: 194.2 kB / 0.9334 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.1388, allocations: 0.5823 MB / 0.934 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1403, allocations: 0.8724 MB / 0.9349 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1416, allocations: 1.475 MB / 0.9363 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006448/0.1422, allocations: 397.8 kB / 0.9367 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009165/0.1431, allocations: 0.7835 MB / 0.9374 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.1436, allocations: 374.9 kB / 0.9378 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.1437, allocations: 116 kB / 0.9379 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007933/0.1445, allocations: 495.3 kB / 0.9384 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.1447, allocations: 299 kB / 0.9387 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.145, allocations: 379 kB / 0.939 GB, free: 236 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.1463, allocations: 1.249 MB / 0.9402 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1463, allocations: 0 / 0.9402 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1463, allocations: 4 kB / 0.9402 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.144e-05/0.1464, allocations: 0 / 0.9402 GB, free: 14.97 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001644/0.148, allocations: 1.523 MB / 0.9417 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.148, allocations: 8.031 kB / 0.9417 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000966/0.149, allocations: 347.5 kB / 0.9421 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.1498, allocations: 0.7189 MB / 0.9428 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.1498, allocations: 70.12 kB / 0.9428 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.1499, allocations: 88 kB / 0.9429 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/0.1508, allocations: 0.8851 MB / 0.9438 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1508, allocations: 0 / 0.9438 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.1509, allocations: 39.94 kB / 0.9438 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1509, allocations: 20 kB / 0.9438 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006746/0.1516, allocations: 0.6767 MB / 0.9445 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.154, allocations: 2.212 MB / 0.9467 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.1546, allocations: 461.3 kB / 0.9471 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1548, allocations: 155.2 kB / 0.9473 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.1548, allocations: 28.62 kB / 0.9473 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000408/0.1552, allocations: 466.4 kB / 0.9477 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=87): time 2.915e-06/0.1552, allocations: 0 / 0.9477 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of matching and sorting (n=87): time 0.001349/0.1566, allocations: 0.765 MB / 0.9485 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.1567, allocations: 200.9 kB / 0.9487 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.157, allocations: 0.5578 MB / 0.9492 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.1571, allocations: 49.7 kB / 0.9493 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.1573, allocations: 455.8 kB / 0.9497 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.1575, allocations: 293.5 kB / 0.95 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.1577, allocations: 196.1 kB / 0.9502 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000243/0.1579, allocations: 0.5663 MB / 0.9507 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1581, allocations: 105.9 kB / 0.9508 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.1583, allocations: 349.7 kB / 0.9511 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.1587, allocations: 339 kB / 0.9515 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1587, allocations: 0 / 0.9515 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0008601/0.1596, allocations: 0.6137 MB / 0.9521 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1596, allocations: 7.984 kB / 0.9521 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1596, allocations: 3.938 kB / 0.9521 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/0.1601, allocations: 127.6 kB / 0.9522 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.1604, allocations: 179.7 kB / 0.9524 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.1617, allocations: 1.877 MB / 0.9542 GB, free: 96 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.162, allocations: 75.53 kB / 0.9543 GB, free: 20 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.1621, allocations: 36 kB / 0.9543 GB, free: 15.98 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0002028/0.1623, allocations: 215 kB / 0.9545 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1624, allocations: 115.5 kB / 0.9546 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1634, allocations: 0.7871 MB / 0.9554 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1634, allocations: 12 kB / 0.9554 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1634, allocations: 0 / 0.9554 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1634, allocations: 3.984 kB / 0.9554 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1651, allocations: 1.472 MB / 0.9569 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1651, allocations: 0 / 0.9569 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.1654, allocations: 143.8 kB / 0.957 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/0.1657, allocations: 119.5 kB / 0.9571 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.1657, allocations: 27.98 kB / 0.9571 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.1669, allocations: 1.899 MB / 0.959 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1669, allocations: 0 / 0.959 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.1678, allocations: 0.8179 MB / 0.9598 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.168, allocations: 191.2 kB / 0.96 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.1681, allocations: 31.92 kB / 0.96 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.1683, allocations: 35.97 kB / 0.96 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.1684, allocations: 64.88 kB / 0.9601 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.1684, allocations: 31.97 kB / 0.9601 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002266/0.1687, allocations: 362.9 kB / 0.9605 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1687, allocations: 0 / 0.9605 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006919/0.1694, allocations: 335.1 kB / 0.9608 GB, free: 9.125 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001231/0.1706, allocations: 0.6452 MB / 0.9614 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.1713, allocations: 0.6131 MB / 0.962 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1713, allocations: 0 / 0.962 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.1717, allocations: 461.1 kB / 0.9625 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.1724, allocations: 311.2 kB / 0.9628 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1744, allocations: 1.486 MB / 0.9642 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.1745, allocations: 190.9 kB / 0.9644 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004024/0.1749, allocations: 190.8 kB / 0.9646 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/0.1755, allocations: 377.9 kB / 0.9649 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of SimCode: time 7.32e-07/0.1755, allocations: 0 / 0.9649 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of Templates: time 0.02002/0.1956, allocations: 17.17 MB / 0.9817 GB, free: 4.094 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.397054077126086]