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.0008698/0.0008698, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001751/0.001751, allocations: 181 kB / 23.36 MB, free: 1.133 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.9444/0.9444, allocations: 177.2 MB / 203.8 MB, free: 5.453 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 2.343/2.343, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.944e-06/1.944e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.487e-05, allocations: 8.641 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006983/0.007008, allocations: 4.658 MB / 0.8431 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.137/0.144, allocations: 146 MB / 0.9857 GB, free: 6.91 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000681/0.1447, allocations: 27.81 kB / 0.9858 GB, free: 6.883 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.1453, allocations: 194.2 kB / 0.9859 GB, free: 6.691 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.1465, allocations: 0.5472 MB / 0.9865 GB, free: 6.141 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1478, allocations: 0.8645 MB / 0.9873 GB, free: 5.273 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1488, allocations: 1.463 MB / 0.9888 GB, free: 3.805 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.1493, allocations: 409.8 kB / 0.9891 GB, free: 3.371 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.15, allocations: 0.7717 MB / 0.9899 GB, free: 2.598 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.1504, allocations: 386.9 kB / 0.9903 GB, free: 2.219 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.1505, allocations: 112 kB / 0.9904 GB, free: 2.109 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006545/0.1511, allocations: 0.511 MB / 0.9909 GB, free: 1.598 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.1513, allocations: 303 kB / 0.9912 GB, free: 1.301 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.1516, allocations: 375 kB / 0.9915 GB, free: 0.9336 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1526, allocations: 1.245 MB / 0.9927 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1526, allocations: 0 / 0.9927 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1526, allocations: 0 / 0.9927 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.1526, allocations: 0 / 0.9927 GB, free: 15.68 MB / 0.9636 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.001424/0.1541, allocations: 1.363 MB / 0.9941 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1541, allocations: 16.62 kB / 0.9941 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.155, allocations: 316.1 kB / 0.9944 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.1556, allocations: 0.5698 MB / 0.9949 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.1556, allocations: 74.11 kB / 0.995 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.1557, allocations: 96 kB / 0.9951 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.1564, allocations: 0.868 MB / 0.996 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.1565, allocations: 0 / 0.996 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/0.1565, allocations: 39.94 kB / 0.996 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.1566, allocations: 20 kB / 0.996 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.1571, allocations: 0.5713 MB / 0.9966 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.159, allocations: 1.644 MB / 0.9982 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.1595, allocations: 416.7 kB / 0.9986 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1597, allocations: 130.8 kB / 0.9987 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.1597, allocations: 32.62 kB / 0.9987 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/0.1601, allocations: 462.9 kB / 0.9992 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=87): time 1.994e-06/0.1601, allocations: 0 / 0.9992 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=87): time 0.0009629/0.161, allocations: 0.5615 MB / 0.9997 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/0.1613, allocations: 196.9 kB / 0.9999 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.1616, allocations: 0.4978 MB / 1 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1616, allocations: 45.7 kB / 1 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1618, allocations: 330.4 kB / 1.001 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.1619, allocations: 293.5 kB / 1.001 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.1621, allocations: 174.5 kB / 1.001 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1622, allocations: 390.6 kB / 1.002 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1623, allocations: 92.77 kB / 1.002 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.1625, allocations: 315.6 kB / 1.002 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.1629, allocations: 329.2 kB / 1.002 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1629, allocations: 64 / 1.002 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006263/0.1635, allocations: 471 kB / 1.003 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1635, allocations: 4 kB / 1.003 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.1635, allocations: 0 / 1.003 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.1639, allocations: 128.7 kB / 1.003 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.1643, allocations: 179.8 kB / 1.003 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000977/0.1653, allocations: 1.313 MB / 1.004 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.1655, allocations: 86.75 kB / 1.004 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.1655, allocations: 27.97 kB / 1.004 GB, free: 3.234 MB / 0.9636 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.000166/0.1657, allocations: 163.2 kB / 1.005 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.1658, allocations: 79.92 kB / 1.005 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007867/0.1666, allocations: 0.6028 MB / 1.005 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1666, allocations: 12 kB / 1.005 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1666, allocations: 4 kB / 1.005 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1666, allocations: 7.969 kB / 1.005 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1678, allocations: 1.113 MB / 1.006 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1678, allocations: 8 kB / 1.006 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.1681, allocations: 143.8 kB / 1.006 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.1684, allocations: 108.8 kB / 1.007 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.1684, allocations: 23.97 kB / 1.007 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009827/0.1694, allocations: 1.321 MB / 1.008 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1694, allocations: 0 / 1.008 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.17, allocations: 0.5673 MB / 1.008 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.1702, allocations: 139.2 kB / 1.009 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.1703, allocations: 27.98 kB / 1.009 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1705, allocations: 39.97 kB / 1.009 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.343e-05/0.1706, allocations: 72.81 kB / 1.009 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.1706, allocations: 19.97 kB / 1.009 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001812/0.1708, allocations: 247.4 kB / 1.009 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1708, allocations: 0 / 1.009 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005241/0.1713, allocations: 339.1 kB / 1.009 GB, free: 14.05 MB / 0.9792 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.001453/0.1728, allocations: 0.7639 MB / 1.01 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005861/0.1733, allocations: 0.5019 MB / 1.011 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.1733, allocations: 8 kB / 1.011 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.1737, allocations: 375.1 kB / 1.011 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.1743, allocations: 323.1 kB / 1.011 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1761, allocations: 1.468 MB / 1.013 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.1762, allocations: 190.9 kB / 1.013 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003589/0.1765, allocations: 186.8 kB / 1.013 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.177, allocations: 315 kB / 1.013 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of SimCode: time 7.41e-07/0.177, allocations: 3.938 kB / 1.013 GB, free: 10.13 MB / 0.9792 GB Notification: Performance of Templates: time 0.02866/0.2057, allocations: 16.93 MB / 1.03 GB, free: 9.516 MB / 0.9948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.852372516412288]