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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.388/2.388, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 179.9 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 107.3 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003962, allocations: 7 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3303, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.915/4.245, allocations: 1.732 GB / 2.961 GB, free: 218.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/4.246, allocations: 94.02 kB / 2.961 GB, free: 218.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1452/4.391, allocations: 68.7 MB / 3.028 GB, free: 159.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.956e-06/4.391, allocations: 0 / 3.028 GB, free: 159.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001491/4.391, allocations: 20 kB / 3.028 GB, free: 159.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002786/4.394, allocations: 1.226 MB / 3.03 GB, free: 158.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/4.394, allocations: 8.031 kB / 3.03 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003002/4.394, allocations: 138.2 kB / 3.03 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/4.396, allocations: 218 kB / 3.03 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/4.397, allocations: 0.6298 MB / 3.031 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/4.397, allocations: 66.69 kB / 3.031 GB, free: 157.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/4.397, allocations: 88 kB / 3.031 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/4.398, allocations: 0.9379 MB / 3.032 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/4.398, allocations: 0 / 3.032 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/4.399, allocations: 40.45 kB / 3.032 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/4.399, allocations: 20 kB / 3.032 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/4.4, allocations: 1.139 MB / 3.033 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/4.404, allocations: 2.506 MB / 3.035 GB, free: 153.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/4.406, allocations: 0.8915 MB / 3.036 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.387e-05/4.406, allocations: 32.53 kB / 3.036 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006878/4.406, allocations: 450 kB / 3.037 GB, free: 152.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.915e-06/4.406, allocations: 0 / 3.037 GB, free: 152.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002956/4.409, allocations: 1.121 MB / 3.038 GB, free: 151.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/4.409, allocations: 240 kB / 3.038 GB, free: 151.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/4.41, allocations: 0.5947 MB / 3.038 GB, free: 150.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.343e-05/4.41, allocations: 40.39 kB / 3.038 GB, free: 150.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/4.411, allocations: 398.9 kB / 3.039 GB, free: 150.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/4.411, allocations: 239.2 kB / 3.039 GB, free: 150.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/4.411, allocations: 13.62 kB / 3.039 GB, free: 150.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/4.411, allocations: 378.6 kB / 3.039 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/4.411, allocations: 229 kB / 3.04 GB, free: 149.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/4.412, allocations: 328.2 kB / 3.04 GB, free: 149.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/4.412, allocations: 272.5 kB / 3.04 GB, free: 149.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/4.412, allocations: 3.953 kB / 3.04 GB, free: 149.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001682/4.414, allocations: 0.7348 MB / 3.041 GB, free: 148.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/4.414, allocations: 7.984 kB / 3.041 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/4.414, allocations: 4 kB / 3.041 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/4.415, allocations: 83.53 kB / 3.041 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/4.415, allocations: 143 kB / 3.041 GB, free: 148.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/4.417, allocations: 1.533 MB / 3.043 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/4.418, allocations: 89.86 kB / 3.043 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/4.418, allocations: 35.38 kB / 3.043 GB, free: 146.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0004556/4.418, allocations: 254.7 kB / 3.043 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/4.418, allocations: 83.05 kB / 3.043 GB, free: 146.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/4.42, allocations: 1.012 MB / 3.044 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/4.42, allocations: 11.95 kB / 3.044 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/4.42, allocations: 0 / 3.044 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/4.421, allocations: 15.95 kB / 3.044 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/4.424, allocations: 1.939 MB / 3.046 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/4.424, allocations: 0 / 3.046 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/4.424, allocations: 147.5 kB / 3.046 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/4.425, allocations: 80.22 kB / 3.046 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/4.425, allocations: 23.3 kB / 3.046 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/4.426, allocations: 1.562 MB / 3.048 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/4.426, allocations: 0 / 3.048 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/4.428, allocations: 0.9334 MB / 3.049 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/4.429, allocations: 285.2 kB / 3.049 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/4.429, allocations: 18.75 kB / 3.049 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/4.429, allocations: 70.77 kB / 3.049 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/4.429, allocations: 64.3 kB / 3.049 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/4.429, allocations: 34.97 kB / 3.049 GB, free: 141.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005776/4.43, allocations: 487.5 kB / 3.05 GB, free: 141.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.43, allocations: 0 / 3.05 GB, free: 141.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001174/4.431, allocations: 367.4 kB / 3.05 GB, free: 140.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003423/4.435, allocations: 2.448 MB / 3.052 GB, free: 138.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001465/4.436, allocations: 0.7432 MB / 3.053 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/4.436, allocations: 3.938 kB / 3.053 GB, free: 138.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000779/4.437, allocations: 495.1 kB / 3.054 GB, free: 137.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/4.438, allocations: 232.4 kB / 3.054 GB, free: 137.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008955/4.447, allocations: 5.181 MB / 3.059 GB, free: 133.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/4.448, allocations: 1.037 MB / 3.06 GB, free: 132.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00112/4.449, allocations: 262.2 kB / 3.06 GB, free: 131.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/4.45, allocations: 375.6 kB / 3.06 GB, free: 131.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.211e-05/4.45, allocations: 0 / 3.06 GB, free: 131.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/4.502, allocations: 29.57 MB / 3.089 GB, free: 102.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/4.502, allocations: 294.7 kB / 3.09 GB, free: 102.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.138/7.641, allocations: 6.625 kB / 3.09 GB, free: 102.2 MB / 1.167 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) 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