Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001062/0.001062, allocations: 81.95 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.0009806/0.0009806, allocations: 185.3 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.9394/0.9394, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.81/1.81, allocations: 377.9 MB / 0.624 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.812 GB, free: 1.516 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.683e-05, allocations: 2.938 kB / 0.812 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004444/0.004461, allocations: 4.613 MB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1192/0.1237, allocations: 143.8 MB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.1245, allocations: 23.81 kB / 0.957 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.1249, allocations: 190.2 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.1264, allocations: 0.5823 MB / 0.9577 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1277, allocations: 0.8763 MB / 0.9586 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1288, allocations: 1.46 MB / 0.96 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.1293, allocations: 401.8 kB / 0.9604 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.1301, allocations: 0.7796 MB / 0.9611 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.1305, allocations: 382.8 kB / 0.9615 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1306, allocations: 116 kB / 0.9616 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006181/0.1312, allocations: 487.4 kB / 0.9621 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.1314, allocations: 303 kB / 0.9624 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.1316, allocations: 379 kB / 0.9627 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1327, allocations: 1.253 MB / 0.964 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1327, allocations: 0 / 0.964 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1327, allocations: 4 kB / 0.964 GB, free: 5.328 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.1328, allocations: 0 / 0.964 GB, free: 5.328 MB / 0.9167 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.001456/0.1342, allocations: 1.519 MB / 0.9654 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1342, allocations: 12.03 kB / 0.9655 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/0.1351, allocations: 343.5 kB / 0.9658 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.1358, allocations: 0.7072 MB / 0.9665 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.1358, allocations: 70.12 kB / 0.9665 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.1359, allocations: 92 kB / 0.9666 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.1366, allocations: 0.889 MB / 0.9675 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1366, allocations: 0 / 0.9675 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.1367, allocations: 32 kB / 0.9675 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1367, allocations: 24 kB / 0.9675 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.1373, allocations: 0.6767 MB / 0.9682 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.1393, allocations: 2.208 MB / 0.9704 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.1399, allocations: 469 kB / 0.9708 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.14, allocations: 155.2 kB / 0.971 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.767e-05/0.1401, allocations: 48.48 kB / 0.971 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.1404, allocations: 470.4 kB / 0.9715 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 1.943e-06/0.1404, allocations: 4 kB / 0.9715 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001158/0.1416, allocations: 0.7572 MB / 0.9722 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.1417, allocations: 212.8 kB / 0.9724 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.142, allocations: 0.5539 MB / 0.9729 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.1421, allocations: 49.7 kB / 0.973 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.1423, allocations: 451.8 kB / 0.9734 GB, free: 11.26 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.1425, allocations: 297.5 kB / 0.9737 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.1426, allocations: 192.1 kB / 0.9739 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1428, allocations: 0.5663 MB / 0.9744 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1429, allocations: 105.9 kB / 0.9745 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1432, allocations: 353.7 kB / 0.9749 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.1435, allocations: 335 kB / 0.9752 GB, free: 9.355 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1435, allocations: 0 / 0.9752 GB, free: 9.355 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007674/0.1443, allocations: 0.6177 MB / 0.9758 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1443, allocations: 4 kB / 0.9758 GB, free: 8.723 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1443, allocations: 0 / 0.9758 GB, free: 8.723 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.1447, allocations: 127.6 kB / 0.9759 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.1451, allocations: 179.7 kB / 0.9761 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.1463, allocations: 1.878 MB / 0.9779 GB, free: 6.426 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1465, allocations: 83.48 kB / 0.978 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.1465, allocations: 31.97 kB / 0.978 GB, free: 6.312 MB / 0.9323 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.0001809/0.1467, allocations: 215 kB / 0.9782 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1468, allocations: 111.5 kB / 0.9784 GB, free: 5.984 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009233/0.1477, allocations: 0.7872 MB / 0.9791 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1478, allocations: 8 kB / 0.9791 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1478, allocations: 4 kB / 0.9791 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1478, allocations: 7.969 kB / 0.9791 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1492, allocations: 1.472 MB / 0.9806 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1492, allocations: 0 / 0.9806 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.1495, allocations: 143.8 kB / 0.9807 GB, free: 3.492 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003002/0.1498, allocations: 119.5 kB / 0.9808 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.1498, allocations: 27.97 kB / 0.9809 GB, free: 3.344 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00094/0.1507, allocations: 1.899 MB / 0.9827 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1507, allocations: 3.938 kB / 0.9827 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007906/0.1515, allocations: 0.8219 MB / 0.9835 GB, free: 484 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.1517, allocations: 187.2 kB / 0.9837 GB, free: 296 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.1518, allocations: 27.94 kB / 0.9837 GB, free: 268 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.152, allocations: 36.95 kB / 0.9838 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.1521, allocations: 72.86 kB / 0.9838 GB, free: 160 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.1521, allocations: 35.97 kB / 0.9839 GB, free: 124 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002136/0.1523, allocations: 354.9 kB / 0.9842 GB, free: 15.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1523, allocations: 0 / 0.9842 GB, free: 15.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005063/0.1528, allocations: 335.1 kB / 0.9845 GB, free: 15.45 MB / 0.948 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.001038/0.1539, allocations: 0.6382 MB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.1545, allocations: 0.6093 MB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1545, allocations: 0 / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.1549, allocations: 453 kB / 0.9862 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.1555, allocations: 324.5 kB / 0.9865 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1573, allocations: 1.486 MB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.1574, allocations: 190.9 kB / 0.9881 GB, free: 11.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003622/0.1577, allocations: 202.7 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.1582, allocations: 361.9 kB / 0.9886 GB, free: 11.3 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.1582, allocations: 3.938 kB / 0.9887 GB, free: 11.3 MB / 0.948 GB Notification: Performance of Templates: time 0.01801/0.1762, allocations: 16.93 MB / 1.005 GB, free: 10.69 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.5540767051279545]