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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001861/0.001861, allocations: 177.3 kB / 15.95 MB, free: 208 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.95/1.95, allocations: 223.2 MB / 239.9 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.432/4.432, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.0006354, allocations: 12 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357/1.357, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.009057/1.367, allocations: 3.685 MB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3196/1.686, allocations: 127.5 MB / 1.109 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/1.687, allocations: 19.88 kB / 1.109 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000518/1.688, allocations: 75.33 kB / 1.109 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/1.69, allocations: 495.9 kB / 1.11 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/1.692, allocations: 0.6268 MB / 1.11 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001683/1.694, allocations: 0.8221 MB / 1.111 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/1.695, allocations: 0.5345 MB / 1.112 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/1.696, allocations: 350.5 kB / 1.112 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007232/1.697, allocations: 350.1 kB / 1.112 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.854e-05/1.697, allocations: 28 kB / 1.112 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/1.698, allocations: 307.6 kB / 1.113 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/1.698, allocations: 187.2 kB / 1.113 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/1.698, allocations: 201.1 kB / 1.113 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/1.7, allocations: 1.223 MB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.7, allocations: 0 / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.194e-06/1.7, allocations: 0 / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.694e-05/1.7, allocations: 0 / 1.114 GB, free: 13.54 MB / 0.8731 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.002795/1.703, allocations: 1.263 MB / 1.115 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.703, allocations: 11.97 kB / 1.115 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/1.703, allocations: 151.9 kB / 1.115 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/1.704, allocations: 226.4 kB / 1.116 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.705, allocations: 0.7342 MB / 1.116 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/1.706, allocations: 69.95 kB / 1.116 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/1.706, allocations: 92 kB / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.708, allocations: 0.9955 MB / 1.118 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.708, allocations: 0 / 1.118 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.708, allocations: 44 kB / 1.118 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/1.708, allocations: 23.94 kB / 1.118 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/1.71, allocations: 1.179 MB / 1.119 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/1.716, allocations: 2.659 MB / 1.121 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/1.718, allocations: 0.9758 MB / 1.122 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-05/1.718, allocations: 38.31 kB / 1.122 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/1.72, allocations: 499.2 kB / 1.123 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.735e-06/1.72, allocations: 0 / 1.123 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003382/1.723, allocations: 1.233 MB / 1.124 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/1.723, allocations: 196.6 kB / 1.124 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/1.724, allocations: 0.6294 MB / 1.125 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/1.724, allocations: 45.69 kB / 1.125 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/1.725, allocations: 424.2 kB / 1.125 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/1.725, allocations: 264.2 kB / 1.126 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/1.725, allocations: 16 kB / 1.126 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002343/1.726, allocations: 386.8 kB / 1.126 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/1.726, allocations: 253.9 kB / 1.126 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/1.727, allocations: 370.5 kB / 1.126 GB, free: 472 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/1.727, allocations: 294.9 kB / 1.127 GB, free: 180 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.727, allocations: 0 / 1.127 GB, free: 180 kB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002109/1.73, allocations: 0.8291 MB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/1.73, allocations: 8 kB / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.73, allocations: 0 / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/1.73, allocations: 88.8 kB / 1.128 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/1.731, allocations: 155.8 kB / 1.128 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/1.733, allocations: 1.539 MB / 1.129 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/1.734, allocations: 108.9 kB / 1.129 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/1.734, allocations: 31.98 kB / 1.129 GB, free: 13.27 MB / 0.8887 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.0006118/1.735, allocations: 261.7 kB / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.735, allocations: 90.92 kB / 1.13 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/1.738, allocations: 1.116 MB / 1.131 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.738, allocations: 12 kB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.738, allocations: 0 / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.738, allocations: 3.984 kB / 1.131 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/1.742, allocations: 2.024 MB / 1.133 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.742, allocations: 4 kB / 1.133 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/1.743, allocations: 147.8 kB / 1.133 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000541/1.743, allocations: 84.77 kB / 1.133 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/1.743, allocations: 23.98 kB / 1.133 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.746, allocations: 1.559 MB / 1.135 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.746, allocations: 0 / 1.135 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/1.749, allocations: 1.016 MB / 1.136 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/1.75, allocations: 299.5 kB / 1.136 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.75, allocations: 20 kB / 1.136 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009588/1.751, allocations: 86.2 kB / 1.136 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.751, allocations: 72.89 kB / 1.136 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.751, allocations: 39.97 kB / 1.136 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008977/1.752, allocations: 459 kB / 1.137 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/1.752, allocations: 0 / 1.137 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001376/1.754, allocations: 319.1 kB / 1.137 GB, free: 5.406 MB / 0.8887 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.004536/1.758, allocations: 2.068 MB / 1.139 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002123/1.76, allocations: 0.8197 MB / 1.14 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.76, allocations: 4 kB / 1.14 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/1.762, allocations: 0.5237 MB / 1.14 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/1.763, allocations: 260.3 kB / 1.14 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.778, allocations: 5.676 MB / 1.146 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001734/1.78, allocations: 1.063 MB / 1.147 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001405/1.781, allocations: 270.8 kB / 1.147 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.782, allocations: 415.2 kB / 1.148 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of SimCode: time 4.208e-06/1.782, allocations: 0 / 1.148 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07979/1.862, allocations: 21.72 MB / 1.169 GB, free: 5.027 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/1.862, allocations: 295.6 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.032/5.895, allocations: 4 kB / 1.169 GB, free: 4.668 MB / 0.92 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat