Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001008/0.001008, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001088/0.001088, allocations: 173 kB / 23.02 MB, free: 1.547 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.9333/0.9333, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.968/1.968, allocations: 429.5 MB / 0.6733 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.067e-05, allocations: 6.297 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004925/0.004955, allocations: 4.697 MB / 0.8827 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1223/0.1273, allocations: 146.6 MB / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.128, allocations: 23.75 kB / 1.026 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.1285, allocations: 198.2 kB / 1.026 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1298, allocations: 0.5746 MB / 1.027 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.1311, allocations: 0.8724 MB / 1.027 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.1326, allocations: 1.467 MB / 1.029 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005571/0.1332, allocations: 397.8 kB / 1.029 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008214/0.134, allocations: 0.7796 MB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.1344, allocations: 382.8 kB / 1.03 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.1345, allocations: 116 kB / 1.031 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.1352, allocations: 491.3 kB / 1.031 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1354, allocations: 303 kB / 1.031 GB, free: 8.969 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.1357, allocations: 379 kB / 1.032 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.1371, allocations: 1.242 MB / 1.033 GB, free: 7.352 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1371, allocations: 4 kB / 1.033 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1371, allocations: 0 / 1.033 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.1371, allocations: 4 kB / 1.033 GB, free: 7.344 MB / 0.9948 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.001647/0.1388, allocations: 1.504 MB / 1.034 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1388, allocations: 12.03 kB / 1.034 GB, free: 5.781 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.1398, allocations: 347.4 kB / 1.035 GB, free: 5.441 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.1405, allocations: 0.7103 MB / 1.035 GB, free: 4.707 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.1406, allocations: 70.12 kB / 1.035 GB, free: 4.641 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.1407, allocations: 91.98 kB / 1.036 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1419, allocations: 0.9361 MB / 1.036 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1419, allocations: 3.938 kB / 1.036 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.1419, allocations: 43.98 kB / 1.036 GB, free: 3.469 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.142, allocations: 20 kB / 1.036 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.1428, allocations: 0.788 MB / 1.037 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.1452, allocations: 2.313 MB / 1.04 GB, free: 288 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.146, allocations: 0.503 MB / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.1462, allocations: 189.5 kB / 1.04 GB, free: 15.58 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.1463, allocations: 36.66 kB / 1.04 GB, free: 15.54 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.1467, allocations: 494.5 kB / 1.041 GB, free: 15.02 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.365e-06/0.1467, allocations: 0 / 1.041 GB, free: 15.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001483/0.1482, allocations: 0.8392 MB / 1.042 GB, free: 14.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.1483, allocations: 200.9 kB / 1.042 GB, free: 13.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.1488, allocations: 0.5659 MB / 1.042 GB, free: 13.35 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.1488, allocations: 49.7 kB / 1.042 GB, free: 13.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.1493, allocations: 455.9 kB / 1.043 GB, free: 12.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.1494, allocations: 285.6 kB / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1496, allocations: 184.2 kB / 1.043 GB, free: 12.38 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1498, allocations: 0.5586 MB / 1.044 GB, free: 11.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.15, allocations: 145.9 kB / 1.044 GB, free: 11.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.1503, allocations: 385.7 kB / 1.044 GB, free: 11.23 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.1508, allocations: 391.1 kB / 1.045 GB, free: 10.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1508, allocations: 0 / 1.045 GB, free: 10.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009789/0.1518, allocations: 0.6801 MB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1518, allocations: 4 kB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1518, allocations: 4 kB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.1523, allocations: 131.6 kB / 1.045 GB, free: 10 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.1526, allocations: 171.8 kB / 1.046 GB, free: 9.836 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.154, allocations: 1.913 MB / 1.047 GB, free: 7.797 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.1542, allocations: 79.55 kB / 1.048 GB, free: 7.719 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.1543, allocations: 44.03 kB / 1.048 GB, free: 7.676 MB / 1.01 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.0002095/0.1545, allocations: 215.1 kB / 1.048 GB, free: 7.457 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1546, allocations: 111.5 kB / 1.048 GB, free: 7.348 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1557, allocations: 0.8379 MB / 1.049 GB, free: 6.492 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1557, allocations: 12 kB / 1.049 GB, free: 6.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1557, allocations: 0 / 1.049 GB, free: 6.48 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1557, allocations: 7.922 kB / 1.049 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.1578, allocations: 1.639 MB / 1.05 GB, free: 4.773 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1578, allocations: 3.984 kB / 1.05 GB, free: 4.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.1581, allocations: 143.8 kB / 1.05 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003456/0.1585, allocations: 115.5 kB / 1.051 GB, free: 4.512 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.1585, allocations: 23.98 kB / 1.051 GB, free: 4.488 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1596, allocations: 1.925 MB / 1.052 GB, free: 2.434 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1596, allocations: 3.938 kB / 1.052 GB, free: 2.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.1606, allocations: 0.8688 MB / 1.053 GB, free: 1.535 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.1609, allocations: 195.1 kB / 1.054 GB, free: 1.344 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.161, allocations: 23.98 kB / 1.054 GB, free: 1.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.1612, allocations: 54.97 kB / 1.054 GB, free: 1.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1613, allocations: 72.86 kB / 1.054 GB, free: 1.199 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.1614, allocations: 31.98 kB / 1.054 GB, free: 1.168 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003028/0.1617, allocations: 379 kB / 1.054 GB, free: 0.8047 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1617, allocations: 0 / 1.054 GB, free: 0.8047 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007633/0.1624, allocations: 339.1 kB / 1.054 GB, free: 484 kB / 1.01 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 (97): * Single equations (assignments): 86 * 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.001222/0.1636, allocations: 0.6263 MB / 1.055 GB, free: 16 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.4015/0.5651, allocations: 0.6714 MB / 1.056 GB, free: 74.37 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5651, allocations: 0 / 1.056 GB, free: 74.37 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.5657, allocations: 481.9 kB / 1.056 GB, free: 74.18 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5667, allocations: 309.3 kB / 1.056 GB, free: 74.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.569, allocations: 1.511 MB / 1.058 GB, free: 73.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.5691, allocations: 199.5 kB / 1.058 GB, free: 73.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005072/0.5696, allocations: 247.8 kB / 1.058 GB, free: 73.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.5698, allocations: 108.9 kB / 1.058 GB, free: 73.41 MB / 1.01 GB Notification: Performance of SimCode: time 2.063e-06/0.5698, allocations: 0.8438 kB / 1.058 GB, free: 73.41 MB / 1.01 GB Notification: Performance of Templates: time 0.01932/0.5891, allocations: 16.56 MB / 1.075 GB, free: 72 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.117424724623561]