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.001381/0.001381, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.00165/0.00165, allocations: 169 kB / 23.28 MB, free: 1.219 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.9167/0.9167, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.273/2.273, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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 2.043e-06/2.043e-06, allocations: 0 / 0.8897 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.72e-05/3.924e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005646/0.005685, allocations: 4.607 MB / 0.8942 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1202/0.1259, allocations: 143.9 MB / 1.035 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006902/0.1266, allocations: 23.81 kB / 1.035 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.1271, allocations: 198.1 kB / 1.035 GB, free: 4.605 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.1285, allocations: 0.5785 MB / 1.035 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1299, allocations: 0.8685 MB / 1.036 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.131, allocations: 1.463 MB / 1.038 GB, free: 1.68 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.1315, allocations: 405.8 kB / 1.038 GB, free: 1.262 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009329/0.1325, allocations: 0.7757 MB / 1.039 GB, free: 496 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.1328, allocations: 382.9 kB / 1.039 GB, free: 112 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1329, allocations: 112 kB / 1.039 GB, free: 0 / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.1337, allocations: 495.5 kB / 1.04 GB, free: 15.51 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1338, allocations: 295 kB / 1.04 GB, free: 15.22 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.1341, allocations: 383 kB / 1.04 GB, free: 14.85 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.1353, allocations: 1.249 MB / 1.042 GB, free: 13.59 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1353, allocations: 3.984 kB / 1.042 GB, free: 13.59 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1353, allocations: 0 / 1.042 GB, free: 13.59 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.1353, allocations: 0 / 1.042 GB, free: 13.59 MB / 1.01 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.00146/0.1367, allocations: 1.511 MB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1368, allocations: 8.625 kB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008807/0.1377, allocations: 339.5 kB / 1.043 GB, free: 11.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.1384, allocations: 0.7142 MB / 1.044 GB, free: 10.96 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.1384, allocations: 70.12 kB / 1.044 GB, free: 10.89 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.1385, allocations: 91.98 kB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.1392, allocations: 0.8851 MB / 1.045 GB, free: 9.816 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1392, allocations: 0 / 1.045 GB, free: 9.816 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.1393, allocations: 40 kB / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1393, allocations: 20 kB / 1.045 GB, free: 9.758 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007638/0.1401, allocations: 0.6767 MB / 1.046 GB, free: 9.082 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.1422, allocations: 2.2 MB / 1.048 GB, free: 6.824 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.1428, allocations: 465 kB / 1.049 GB, free: 6.355 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.143, allocations: 157.3 kB / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.801e-05/0.143, allocations: 60.42 kB / 1.049 GB, free: 6.141 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.1434, allocations: 470.4 kB / 1.049 GB, free: 5.633 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.544e-06/0.1434, allocations: 0 / 1.049 GB, free: 5.633 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001231/0.1447, allocations: 0.7689 MB / 1.05 GB, free: 4.855 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.1447, allocations: 200.9 kB / 1.05 GB, free: 4.617 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.1451, allocations: 0.5539 MB / 1.051 GB, free: 4.051 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.1452, allocations: 49.7 kB / 1.051 GB, free: 3.996 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.1454, allocations: 451.8 kB / 1.051 GB, free: 3.547 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.1456, allocations: 289.5 kB / 1.051 GB, free: 3.262 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.1457, allocations: 192.1 kB / 1.052 GB, free: 3.066 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1459, allocations: 0.5663 MB / 1.052 GB, free: 2.488 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.146, allocations: 109.9 kB / 1.052 GB, free: 2.379 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.1463, allocations: 345.7 kB / 1.053 GB, free: 1.992 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.1468, allocations: 351 kB / 1.053 GB, free: 1.633 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1468, allocations: 0 / 1.053 GB, free: 1.633 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000856/0.1477, allocations: 0.6177 MB / 1.054 GB, free: 1.004 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1477, allocations: 11.98 kB / 1.054 GB, free: 0.9922 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1477, allocations: 0 / 1.054 GB, free: 0.9922 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/0.1481, allocations: 123.6 kB / 1.054 GB, free: 0.8672 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.1485, allocations: 183.7 kB / 1.054 GB, free: 0.6875 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3991/0.5477, allocations: 1.861 MB / 1.056 GB, free: 63.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.5481, allocations: 74.95 kB / 1.056 GB, free: 63.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.5482, allocations: 31.09 kB / 1.056 GB, free: 63.78 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.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.0002748/0.5485, allocations: 223.2 kB / 1.056 GB, free: 63.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5486, allocations: 111.8 kB / 1.056 GB, free: 63.61 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009363/0.5495, allocations: 0.7738 MB / 1.057 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5495, allocations: 11.38 kB / 1.057 GB, free: 63.55 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.5495, allocations: 7.359 kB / 1.057 GB, free: 63.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5495, allocations: 6.375 kB / 1.057 GB, free: 63.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.5511, allocations: 1.471 MB / 1.058 GB, free: 63.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5511, allocations: 0.625 kB / 1.058 GB, free: 63.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.5513, allocations: 147 kB / 1.058 GB, free: 63.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/0.5516, allocations: 113.6 kB / 1.059 GB, free: 63.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.5517, allocations: 26.77 kB / 1.059 GB, free: 63.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007784/0.5525, allocations: 1.887 MB / 1.06 GB, free: 61.45 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5525, allocations: 11.19 kB / 1.06 GB, free: 61.45 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.5532, allocations: 0.8142 MB / 1.061 GB, free: 61.21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.5534, allocations: 191.9 kB / 1.061 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.5535, allocations: 20.88 kB / 1.061 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.5537, allocations: 40.75 kB / 1.061 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.5538, allocations: 67.14 kB / 1.062 GB, free: 61.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.5538, allocations: 30.75 kB / 1.062 GB, free: 61.16 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001813/0.554, allocations: 358.5 kB / 1.062 GB, free: 61.02 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.554, allocations: 0.7812 kB / 1.062 GB, free: 61.02 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006044/0.5546, allocations: 336.4 kB / 1.062 GB, free: 61 MB / 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.001106/0.5557, allocations: 0.6386 MB / 1.063 GB, free: 60.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006896/0.5564, allocations: 0.6116 MB / 1.063 GB, free: 60.67 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5564, allocations: 0.7656 kB / 1.063 GB, free: 60.67 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/0.5568, allocations: 456.1 kB / 1.064 GB, free: 60.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.5575, allocations: 315.7 kB / 1.064 GB, free: 60.45 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.5595, allocations: 1.489 MB / 1.066 GB, free: 59.76 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5596, allocations: 194.8 kB / 1.066 GB, free: 59.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000408/0.56, allocations: 187.1 kB / 1.066 GB, free: 59.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.5605, allocations: 367.2 kB / 1.066 GB, free: 59.58 MB / 1.01 GB Notification: Performance of SimCode: time 1.212e-06/0.5605, allocations: 0.6875 kB / 1.066 GB, free: 59.58 MB / 1.01 GB Notification: Performance of Templates: time 0.02005/0.5805, allocations: 16.89 MB / 1.083 GB, free: 58.11 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.017073467839509]