Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009183, 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.0009341/0.0009343, 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004328, allocations: 8 kB / 0.8707 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7581, allocations: 153.7 MB / 1.021 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005398/0.7636, allocations: 3.686 MB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.9209, allocations: 127.5 MB / 1.149 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.9218, allocations: 19.88 kB / 1.149 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.9222, allocations: 71.33 kB / 1.149 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.9237, allocations: 0.4926 MB / 1.15 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.9254, allocations: 0.6307 MB / 1.15 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.9266, allocations: 0.8182 MB / 1.151 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007409/0.9273, allocations: 0.5422 MB / 1.151 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/0.9279, allocations: 346.5 kB / 1.152 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.9284, allocations: 343.9 kB / 1.152 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.9285, allocations: 28 kB / 1.152 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007812/0.9293, allocations: 311.6 kB / 1.152 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.9295, allocations: 187.2 kB / 1.153 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.9296, allocations: 201.1 kB / 1.153 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.931, allocations: 1.227 MB / 1.154 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.931, allocations: 0 / 1.154 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.693e-06/0.931, allocations: 0 / 1.154 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.9311, allocations: 0 / 1.154 GB, free: 8.445 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002611/0.9337, allocations: 1.262 MB / 1.155 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.9337, allocations: 11.98 kB / 1.155 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.935, allocations: 226.4 kB / 1.155 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.9363, allocations: 0.7341 MB / 1.156 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/0.9364, allocations: 70 kB / 1.156 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.9366, allocations: 88 kB / 1.156 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.9385, allocations: 1.003 MB / 1.157 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.9385, allocations: 0 / 1.157 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/0.9386, allocations: 44 kB / 1.157 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.9386, allocations: 24 kB / 1.157 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.9405, allocations: 1.175 MB / 1.159 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.9452, allocations: 2.655 MB / 1.161 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.9475, allocations: 0.9787 MB / 1.162 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.9476, allocations: 28.61 kB / 1.162 GB, free: 15.94 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009152/0.9485, allocations: 0.4953 MB / 1.163 GB, free: 15.43 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/0.9485, allocations: 0 / 1.163 GB, free: 15.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003017/0.9515, allocations: 1.237 MB / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.9516, allocations: 188.6 kB / 1.164 GB, free: 13.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.9524, allocations: 0.6294 MB / 1.165 GB, free: 13.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-05/0.9525, allocations: 41.7 kB / 1.165 GB, free: 13.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.9529, allocations: 432.2 kB / 1.165 GB, free: 12.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.9531, allocations: 260.2 kB / 1.165 GB, free: 12.56 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.9531, allocations: 12 kB / 1.165 GB, free: 12.55 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.9533, allocations: 394.7 kB / 1.166 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.9538, allocations: 249.9 kB / 1.166 GB, free: 11.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.9545, allocations: 370.5 kB / 1.166 GB, free: 11.53 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.9551, allocations: 298.9 kB / 1.167 GB, free: 11.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9551, allocations: 0 / 1.167 GB, free: 11.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001897/0.957, allocations: 0.8252 MB / 1.167 GB, free: 10.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.957, allocations: 6.031 kB / 1.167 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.9571, allocations: 4 kB / 1.167 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.9576, allocations: 84.86 kB / 1.167 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.9583, allocations: 159.8 kB / 1.168 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.9603, allocations: 1.529 MB / 1.169 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.961, allocations: 105.9 kB / 1.169 GB, free: 8.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.9611, allocations: 35.97 kB / 1.169 GB, free: 8.344 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 (88): * Single equations (assignments): 87 * 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.0005177/0.9616, allocations: 273.6 kB / 1.17 GB, free: 8.066 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.9617, allocations: 82.97 kB / 1.17 GB, free: 7.984 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.9642, allocations: 1.112 MB / 1.171 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.9642, allocations: 15.97 kB / 1.171 GB, free: 6.84 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9642, allocations: 3.984 kB / 1.171 GB, free: 6.836 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.9642, allocations: 7.984 kB / 1.171 GB, free: 6.828 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.9676, allocations: 2.021 MB / 1.173 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.9677, allocations: 0 / 1.173 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.9683, allocations: 151.8 kB / 1.173 GB, free: 4.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005001/0.9688, allocations: 84.78 kB / 1.173 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.9689, allocations: 31.97 kB / 1.173 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.9706, allocations: 1.552 MB / 1.174 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9707, allocations: 4.031 kB / 1.174 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.9728, allocations: 1.023 MB / 1.175 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004676/0.9732, allocations: 287.7 kB / 1.176 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.9734, allocations: 23.92 kB / 1.176 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/0.974, allocations: 86.34 kB / 1.176 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.9742, allocations: 72.89 kB / 1.176 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.9743, allocations: 35.97 kB / 1.176 GB, free: 1.227 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006018/0.9749, allocations: 467 kB / 1.176 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9749, allocations: 4 kB / 1.176 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009147/0.9758, allocations: 319.1 kB / 1.177 GB, free: 472 kB / 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 (94): * Single equations (assignments): 88 * 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.001366/0.9772, allocations: 0.5908 MB / 1.177 GB, free: 44 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.979, allocations: 0.8197 MB / 1.178 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.979, allocations: 0 / 1.178 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009243/0.98, allocations: 0.5314 MB / 1.179 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.981, allocations: 242.6 kB / 1.179 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.985, allocations: 2.273 MB / 1.181 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.9858, allocations: 1.067 MB / 1.182 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008385/0.9867, allocations: 266.8 kB / 1.182 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.987, allocations: 107.4 kB / 1.182 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of SimCode: time 8.91e-07/0.987, allocations: 0 / 1.182 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.02709/1.014, allocations: 14.02 MB / 1.196 GB, free: 12.83 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches