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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003227, allocations: 8 kB / 0.8707 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7641/0.7645, allocations: 153.7 MB / 1.021 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005066/0.7696, allocations: 3.624 MB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.9204, allocations: 127.5 MB / 1.149 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.9213, allocations: 11.94 kB / 1.149 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.9219, allocations: 79.27 kB / 1.149 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.9238, allocations: 499.6 kB / 1.149 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.9258, allocations: 0.627 MB / 1.15 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.9275, allocations: 0.8065 MB / 1.151 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009287/0.9284, allocations: 487.1 kB / 1.151 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006972/0.9291, allocations: 326.6 kB / 1.152 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.9297, allocations: 334.3 kB / 1.152 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.9299, allocations: 24 kB / 1.152 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.9309, allocations: 311.6 kB / 1.152 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.9312, allocations: 179.2 kB / 1.152 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.9314, allocations: 197.1 kB / 1.153 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.933, allocations: 1.169 MB / 1.154 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.9331, allocations: 0 / 1.154 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9331, allocations: 0 / 1.154 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.571e-05/0.9331, allocations: 4 kB / 1.154 GB, free: 8.75 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00289/0.936, allocations: 1.204 MB / 1.155 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.9361, allocations: 15.98 kB / 1.155 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.9371, allocations: 194.5 kB / 1.155 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.9384, allocations: 0.7109 MB / 1.156 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.9385, allocations: 62 kB / 1.156 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.9387, allocations: 84 kB / 1.156 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.9403, allocations: 0.9144 MB / 1.157 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.9404, allocations: 0 / 1.157 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/0.9405, allocations: 35.98 kB / 1.157 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.9405, allocations: 20 kB / 1.157 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.9424, allocations: 1.112 MB / 1.158 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.9468, allocations: 2.56 MB / 1.16 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.9485, allocations: 0.887 MB / 1.161 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.9486, allocations: 32.62 kB / 1.161 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.9497, allocations: 495.1 kB / 1.162 GB, free: 216 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.876e-06/0.9497, allocations: 0 / 1.162 GB, free: 216 kB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.003083/0.9528, allocations: 1.208 MB / 1.163 GB, free: 14.97 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.9529, allocations: 196.5 kB / 1.163 GB, free: 14.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009188/0.9538, allocations: 0.6175 MB / 1.164 GB, free: 14.11 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.173e-05/0.9539, allocations: 45.7 kB / 1.164 GB, free: 14.06 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.9543, allocations: 388.4 kB / 1.164 GB, free: 13.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.9545, allocations: 264.1 kB / 1.164 GB, free: 13.42 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.9546, allocations: 12 kB / 1.164 GB, free: 13.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.9548, allocations: 386.8 kB / 1.165 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.9553, allocations: 249.9 kB / 1.165 GB, free: 12.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.9558, allocations: 350.6 kB / 1.165 GB, free: 12.41 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.9564, allocations: 294.8 kB / 1.166 GB, free: 12.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.9564, allocations: 0 / 1.166 GB, free: 12.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001851/0.9583, allocations: 0.802 MB / 1.167 GB, free: 11.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.9583, allocations: 11.95 kB / 1.167 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.9583, allocations: 0 / 1.167 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.959, allocations: 84.86 kB / 1.167 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.9596, allocations: 151.7 kB / 1.167 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.9617, allocations: 1.55 MB / 1.168 GB, free: 9.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.9624, allocations: 91.42 kB / 1.168 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.9625, allocations: 32.03 kB / 1.168 GB, free: 9.25 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004673/0.963, allocations: 262 kB / 1.169 GB, free: 8.984 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.9631, allocations: 90.91 kB / 1.169 GB, free: 8.895 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.9653, allocations: 1.073 MB / 1.17 GB, free: 7.801 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.9654, allocations: 12 kB / 1.17 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.9654, allocations: 0 / 1.17 GB, free: 7.789 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.9654, allocations: 3.984 kB / 1.17 GB, free: 7.785 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.9685, allocations: 1.961 MB / 1.172 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9685, allocations: 0 / 1.172 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.969, allocations: 139.8 kB / 1.172 GB, free: 5.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.9695, allocations: 92.72 kB / 1.172 GB, free: 5.535 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.9696, allocations: 23.98 kB / 1.172 GB, free: 5.512 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.9713, allocations: 1.583 MB / 1.173 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9713, allocations: 0 / 1.173 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.9731, allocations: 0.9961 MB / 1.174 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.9735, allocations: 283.7 kB / 1.175 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.9737, allocations: 20 kB / 1.175 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.9744, allocations: 83.86 kB / 1.175 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.9745, allocations: 72.84 kB / 1.175 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-05/0.9746, allocations: 39.97 kB / 1.175 GB, free: 2.266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006923/0.9753, allocations: 451 kB / 1.175 GB, free: 1.832 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9753, allocations: 0 / 1.175 GB, free: 1.832 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001028/0.9764, allocations: 303.2 kB / 1.176 GB, free: 1.535 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.9779, allocations: 0.5934 MB / 1.176 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001679/0.9796, allocations: 0.8 MB / 1.177 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9796, allocations: 0 / 1.177 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009882/0.9806, allocations: 0.5162 MB / 1.178 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.9817, allocations: 240.9 kB / 1.178 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.9859, allocations: 2.152 MB / 1.18 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.9866, allocations: 1.039 MB / 1.181 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008465/0.9875, allocations: 254.6 kB / 1.181 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.9878, allocations: 103.4 kB / 1.181 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.9878, allocations: 0 / 1.181 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of Templates: time 0.02469/1.012, allocations: 13.62 MB / 1.194 GB, free: 14.47 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches