Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_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.001042/0.001042, 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.001057/0.001057, allocations: 177.3 kB / 15.95 MB, free: 216 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.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7769, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004943/0.7819, allocations: 3.673 MB / 0.9572 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.154/0.9359, allocations: 127.6 MB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008348/0.9368, allocations: 11.94 kB / 1.082 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.9372, allocations: 83.27 kB / 1.082 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.9387, allocations: 494.7 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.9406, allocations: 0.6325 MB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.942, allocations: 0.8183 MB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008488/0.9428, allocations: 0.5461 MB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.9434, allocations: 342.5 kB / 1.085 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.9439, allocations: 350.1 kB / 1.085 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.944, allocations: 35.88 kB / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000835/0.9448, allocations: 303.7 kB / 1.085 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.945, allocations: 187.2 kB / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.9452, allocations: 209.1 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.9466, allocations: 1.216 MB / 1.087 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.9466, allocations: 0 / 1.087 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9466, allocations: 0 / 1.087 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.9466, allocations: 4 kB / 1.087 GB, free: 7.375 MB / 0.8419 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.002399/0.949, allocations: 1.262 MB / 1.088 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.949, allocations: 8.031 kB / 1.088 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001881/0.9492, allocations: 147.9 kB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.9504, allocations: 226.4 kB / 1.088 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.9515, allocations: 0.738 MB / 1.089 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.9516, allocations: 70 kB / 1.089 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.9517, allocations: 92 kB / 1.089 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.9534, allocations: 0.9917 MB / 1.09 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.9534, allocations: 3.953 kB / 1.09 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/0.9535, allocations: 40 kB / 1.09 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.9535, allocations: 27.94 kB / 1.09 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.9555, allocations: 1.175 MB / 1.091 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.9599, allocations: 2.658 MB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.9623, allocations: 0.9693 MB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.749e-05/0.9624, allocations: 32.59 kB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009527/0.9633, allocations: 0.4991 MB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.425e-06/0.9634, allocations: 0 / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003072/0.9664, allocations: 1.227 MB / 1.097 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.9666, allocations: 192.6 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.9674, allocations: 0.6332 MB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.9675, allocations: 49.69 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.9679, allocations: 420.2 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.9682, allocations: 264.2 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.9682, allocations: 16 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.9684, allocations: 382.8 kB / 1.099 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000531/0.969, allocations: 257.9 kB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.9696, allocations: 362.5 kB / 1.099 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005871/0.9702, allocations: 306.8 kB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9702, allocations: 4 kB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001841/0.9721, allocations: 0.8137 MB / 1.1 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.9721, allocations: 5.25 kB / 1.1 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.9721, allocations: 4 kB / 1.1 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/0.9727, allocations: 92.75 kB / 1.1 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.9734, allocations: 155.8 kB / 1.101 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.9754, allocations: 1.536 MB / 1.102 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.9762, allocations: 110.9 kB / 1.102 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.9762, allocations: 27.98 kB / 1.102 GB, free: 7.113 MB / 0.8575 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.0004788/0.9767, allocations: 269.6 kB / 1.102 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.9769, allocations: 86.97 kB / 1.103 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.9792, allocations: 1.113 MB / 1.104 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.9792, allocations: 8 kB / 1.104 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.9793, allocations: 0 / 1.104 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.9793, allocations: 3.984 kB / 1.104 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.9826, allocations: 2.028 MB / 1.106 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9827, allocations: 0 / 1.106 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.9833, allocations: 151.8 kB / 1.106 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/0.9838, allocations: 84.77 kB / 1.106 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.9838, allocations: 27.94 kB / 1.106 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.9856, allocations: 1.56 MB / 1.107 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.9856, allocations: 4.031 kB / 1.107 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.9877, allocations: 1.019 MB / 1.108 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.9881, allocations: 291.6 kB / 1.109 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.9882, allocations: 20 kB / 1.109 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/0.9889, allocations: 86.11 kB / 1.109 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9891, allocations: 72.89 kB / 1.109 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.9892, allocations: 35.97 kB / 1.109 GB, free: 8 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005919/0.9898, allocations: 463 kB / 1.109 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9898, allocations: 0 / 1.109 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008667/0.9907, allocations: 315.1 kB / 1.11 GB, free: 15.25 MB / 0.8731 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.003322/0.994, allocations: 2.074 MB / 1.112 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.9956, allocations: 0.8236 MB / 1.112 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9956, allocations: 0 / 1.112 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008909/0.9965, allocations: 0.5314 MB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.9976, allocations: 244.4 kB / 1.113 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.008, allocations: 5.68 MB / 1.119 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/1.009, allocations: 1.067 MB / 1.12 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001002/1.01, allocations: 270.8 kB / 1.12 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.011, allocations: 415.2 kB / 1.12 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/1.011, allocations: 0 / 1.12 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04626/1.057, allocations: 21.72 MB / 1.142 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003818/1.057, allocations: 295.9 kB / 1.142 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.378, allocations: 4.062 kB / 1.142 GB, free: 14.47 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat