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.0009733/0.0009733, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009356/0.0009356, allocations: 161 kB / 23.82 MB, free: 0.75 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.8797/0.8797, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.676/1.676, allocations: 359 MB / 0.6052 GB, free: 10.98 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 8.72e-07/8.72e-07, allocations: 0 / 0.7871 GB, free: 11.39 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.2e-05, allocations: 6.891 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004297/0.004309, allocations: 4.692 MB / 0.7916 GB, free: 6.684 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1237/0.1281, allocations: 146.6 MB / 0.9348 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.1289, allocations: 19.88 kB / 0.9348 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.1294, allocations: 202.1 kB / 0.935 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.1308, allocations: 0.5824 MB / 0.9355 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1323, allocations: 0.8725 MB / 0.9364 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1335, allocations: 1.463 MB / 0.9378 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005557/0.1341, allocations: 401.8 kB / 0.9382 GB, free: 80 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008606/0.135, allocations: 0.7835 MB / 0.939 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.1354, allocations: 382.8 kB / 0.9393 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1355, allocations: 116 kB / 0.9394 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006755/0.1362, allocations: 491.4 kB / 0.9399 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1363, allocations: 302.9 kB / 0.9402 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1366, allocations: 375.1 kB / 0.9406 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1379, allocations: 1.253 MB / 0.9418 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1379, allocations: 0 / 0.9418 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1379, allocations: 0 / 0.9418 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.1379, allocations: 0 / 0.9418 GB, free: 12.4 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.001598/0.1395, allocations: 1.511 MB / 0.9433 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1395, allocations: 12.03 kB / 0.9433 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009116/0.1404, allocations: 339.5 kB / 0.9436 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009848/0.1414, allocations: 0.7228 MB / 0.9443 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.1415, allocations: 74.12 kB / 0.9444 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.1415, allocations: 88 kB / 0.9445 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009281/0.1425, allocations: 0.9399 MB / 0.9454 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1425, allocations: 0 / 0.9454 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.1425, allocations: 32 kB / 0.9454 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.1426, allocations: 20 kB / 0.9454 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.1434, allocations: 0.7919 MB / 0.9462 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.1457, allocations: 2.317 MB / 0.9485 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.1465, allocations: 0.5107 MB / 0.949 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.1467, allocations: 187.8 kB / 0.9491 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.1468, allocations: 28.64 kB / 0.9492 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004479/0.1472, allocations: 490.5 kB / 0.9496 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=87): time 2.174e-06/0.1472, allocations: 0 / 0.9496 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of matching and sorting (n=87): time 0.00142/0.1486, allocations: 0.847 MB / 0.9505 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.1487, allocations: 200.8 kB / 0.9507 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007042/0.1494, allocations: 0.5737 MB / 0.9512 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.1495, allocations: 49.7 kB / 0.9513 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.1497, allocations: 455.9 kB / 0.9517 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1498, allocations: 289.6 kB / 0.952 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.15, allocations: 188.2 kB / 0.9521 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1502, allocations: 0.5586 MB / 0.9527 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.1504, allocations: 137.9 kB / 0.9528 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.1507, allocations: 381.8 kB / 0.9532 GB, free: 288 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.1512, allocations: 395.1 kB / 0.9536 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1512, allocations: 0 / 0.9536 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009287/0.1521, allocations: 0.68 MB / 0.9542 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1521, allocations: 4 kB / 0.9542 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1521, allocations: 0 / 0.9542 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.1526, allocations: 139.6 kB / 0.9544 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.1529, allocations: 175.7 kB / 0.9545 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.1542, allocations: 1.906 MB / 0.9564 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.1545, allocations: 71.59 kB / 0.9565 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.1545, allocations: 39.97 kB / 0.9565 GB, free: 12.73 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0001971/0.1547, allocations: 219.2 kB / 0.9567 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1548, allocations: 115.4 kB / 0.9568 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1562, allocations: 0.8496 MB / 0.9577 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1562, allocations: 12 kB / 0.9577 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1562, allocations: 0 / 0.9577 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.1562, allocations: 7.984 kB / 0.9577 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.158, allocations: 1.635 MB / 0.9593 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.158, allocations: 0 / 0.9593 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.1583, allocations: 139.8 kB / 0.9594 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/0.1586, allocations: 119.5 kB / 0.9595 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.1587, allocations: 23.98 kB / 0.9595 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.1598, allocations: 1.933 MB / 0.9614 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1598, allocations: 8.031 kB / 0.9614 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.1607, allocations: 0.8727 MB / 0.9623 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.1609, allocations: 195.2 kB / 0.9625 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.161, allocations: 16 kB / 0.9625 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.1612, allocations: 55.14 kB / 0.9625 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1614, allocations: 68.86 kB / 0.9626 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.1614, allocations: 39.97 kB / 0.9626 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002843/0.1617, allocations: 379 kB / 0.963 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1617, allocations: 0 / 0.963 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006387/0.1623, allocations: 339.1 kB / 0.9633 GB, free: 5.5 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.001223/0.1635, allocations: 0.6261 MB / 0.9639 GB, free: 5.043 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008488/0.1644, allocations: 0.6718 MB / 0.9646 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1644, allocations: 0 / 0.9646 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.165, allocations: 493 kB / 0.9651 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.1657, allocations: 315.4 kB / 0.9654 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1678, allocations: 1.521 MB / 0.9669 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.1679, allocations: 194.9 kB / 0.967 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004318/0.1683, allocations: 246.7 kB / 0.9673 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.1685, allocations: 112.4 kB / 0.9674 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of SimCode: time 8.92e-07/0.1685, allocations: 0 / 0.9674 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of Templates: time 0.01925/0.1877, allocations: 16.57 MB / 0.9836 GB, free: 1.141 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.365410570055246]