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.0008911/0.0008911, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009475/0.0009475, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.8695/0.8695, allocations: 177.1 MB / 204.5 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.717/1.717, allocations: 359 MB / 0.6055 GB, free: 10.87 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.343e-06/1.343e-06, allocations: 3.938 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.8e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004514/0.004532, allocations: 4.597 MB / 0.792 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1327/0.1372, allocations: 143.8 MB / 0.9325 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008028/0.138, allocations: 23.81 kB / 0.9325 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.1385, allocations: 190.2 kB / 0.9327 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.14, allocations: 0.5863 MB / 0.9333 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.1416, allocations: 0.8763 MB / 0.9341 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009539/0.1425, allocations: 1.456 MB / 0.9355 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.143, allocations: 405.7 kB / 0.9359 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.1437, allocations: 0.7758 MB / 0.9367 GB, free: 2.945 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.1444, allocations: 384.5 kB / 0.937 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.1445, allocations: 112 kB / 0.9371 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006593/0.1452, allocations: 495.3 kB / 0.9376 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.1454, allocations: 299 kB / 0.9379 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.1456, allocations: 379 kB / 0.9383 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1467, allocations: 1.253 MB / 0.9395 GB, free: 56 kB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1467, allocations: 0 / 0.9395 GB, free: 56 kB / 0.8855 GB Notification: Performance of FrontEnd: time 2.545e-06/0.1467, allocations: 4 kB / 0.9395 GB, free: 52 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1467, allocations: 0 / 0.9395 GB, free: 52 kB / 0.8855 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.001493/0.1482, allocations: 1.523 MB / 0.941 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1483, allocations: 8.031 kB / 0.941 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008264/0.1491, allocations: 343.5 kB / 0.9413 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.1497, allocations: 0.7111 MB / 0.942 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.1498, allocations: 70.12 kB / 0.9421 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.1499, allocations: 88 kB / 0.9422 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.1506, allocations: 0.8851 MB / 0.943 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1506, allocations: 0 / 0.943 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.1506, allocations: 40 kB / 0.9431 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.1506, allocations: 20 kB / 0.9431 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.1512, allocations: 0.6728 MB / 0.9437 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.1534, allocations: 2.227 MB / 0.9459 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.154, allocations: 462.8 kB / 0.9464 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1541, allocations: 160.9 kB / 0.9465 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.1542, allocations: 52.47 kB / 0.9466 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.1545, allocations: 466.4 kB / 0.947 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 1.963e-06/0.1546, allocations: 0 / 0.947 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87): time 0.001146/0.1557, allocations: 0.7611 MB / 0.9477 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.1558, allocations: 204.8 kB / 0.9479 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.1561, allocations: 0.5539 MB / 0.9485 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.1562, allocations: 49.7 kB / 0.9485 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.1564, allocations: 459.8 kB / 0.949 GB, free: 5.984 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.1565, allocations: 293.5 kB / 0.9492 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1567, allocations: 188.1 kB / 0.9494 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1568, allocations: 0.5663 MB / 0.95 GB, free: 4.926 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.157, allocations: 105.9 kB / 0.9501 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1572, allocations: 349.7 kB / 0.9504 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.1575, allocations: 343 kB / 0.9507 GB, free: 4.078 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1575, allocations: 4 kB / 0.9507 GB, free: 4.074 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0008893/0.1584, allocations: 0.6059 MB / 0.9513 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1584, allocations: 8 kB / 0.9513 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1585, allocations: 96 / 0.9513 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.1588, allocations: 127.6 kB / 0.9515 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.1592, allocations: 179.7 kB / 0.9516 GB, free: 3.145 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.1603, allocations: 1.877 MB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.1605, allocations: 87.52 kB / 0.9536 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.1606, allocations: 31.97 kB / 0.9536 GB, free: 1.035 MB / 0.9011 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.0001733/0.1607, allocations: 215 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1608, allocations: 111.5 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.1618, allocations: 0.7911 MB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1618, allocations: 8 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1618, allocations: 4 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1618, allocations: 7.969 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.1632, allocations: 1.46 MB / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1632, allocations: 0 / 0.9561 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1635, allocations: 147.8 kB / 0.9563 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.1638, allocations: 119.5 kB / 0.9564 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.1638, allocations: 27.97 kB / 0.9564 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.1649, allocations: 1.899 MB / 0.9583 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1649, allocations: 0 / 0.9583 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.1656, allocations: 0.8219 MB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.1659, allocations: 183.2 kB / 0.9592 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.1659, allocations: 27.94 kB / 0.9593 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1661, allocations: 35.97 kB / 0.9593 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.1662, allocations: 76.86 kB / 0.9594 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.1662, allocations: 27.97 kB / 0.9594 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002012/0.1664, allocations: 358.9 kB / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1664, allocations: 0 / 0.9597 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005382/0.167, allocations: 339.1 kB / 0.9601 GB, free: 10.18 MB / 0.9167 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.001135/0.1681, allocations: 0.6365 MB / 0.9607 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006542/0.1688, allocations: 0.6131 MB / 0.9613 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1688, allocations: 4 kB / 0.9613 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.1691, allocations: 453.2 kB / 0.9617 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.1698, allocations: 314.6 kB / 0.962 GB, free: 8.328 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1715, allocations: 1.491 MB / 0.9635 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.1716, allocations: 194.9 kB / 0.9637 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.172, allocations: 202.7 kB / 0.9638 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.1724, allocations: 365.9 kB / 0.9642 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.1724, allocations: 0 / 0.9642 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of Templates: time 0.0188/0.1912, allocations: 16.92 MB / 0.9807 GB, free: 5.414 MB / 0.9323 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.404340483713895]