Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.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.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity",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.349/2.349, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001488/0.001489, allocations: 183.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009867/0.0009867, allocations: 91.89 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.924e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2729, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.257, allocations: 1.87 GB / 3.089 GB, free: 364.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.257, allocations: 85.8 kB / 3.089 GB, free: 364.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4136/5.671, allocations: 223.4 MB / 3.307 GB, free: 174.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.054e-06/5.671, allocations: 3.984 kB / 3.307 GB, free: 174.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.981e-05/5.671, allocations: 12 kB / 3.307 GB, free: 174.5 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001203/5.672, allocations: 0.6666 MB / 3.308 GB, free: 173.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/5.672, allocations: 8.031 kB / 3.308 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.081e-05/5.672, allocations: 58.53 kB / 3.308 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/5.673, allocations: 87.52 kB / 3.308 GB, free: 173.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/5.673, allocations: 310 kB / 3.308 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/5.673, allocations: 24.5 kB / 3.308 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/5.673, allocations: 24 kB / 3.308 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/5.674, allocations: 276.3 kB / 3.309 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/5.674, allocations: 0 / 3.309 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/5.674, allocations: 11.98 kB / 3.309 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/5.674, allocations: 15.95 kB / 3.309 GB, free: 172.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/5.674, allocations: 197.6 kB / 3.309 GB, free: 172.7 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/5.675, allocations: 1.063 MB / 3.31 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/5.676, allocations: 275.7 kB / 3.31 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/5.676, allocations: 105.6 kB / 3.31 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004924/5.677, allocations: 392.3 kB / 3.311 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/5.677, allocations: 30.56 kB / 3.311 GB, free: 170.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/5.677, allocations: 4 kB / 3.311 GB, free: 170.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0005004/5.677, allocations: 222.6 kB / 3.311 GB, free: 170.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/5.677, allocations: 55.41 kB / 3.311 GB, free: 170.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/5.678, allocations: 231.5 kB / 3.311 GB, free: 170.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/5.678, allocations: 29.7 kB / 3.311 GB, free: 170.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/5.678, allocations: 176.3 kB / 3.311 GB, free: 170 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/5.678, allocations: 63.09 kB / 3.311 GB, free: 169.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/5.678, allocations: 7.938 kB / 3.311 GB, free: 169.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/5.678, allocations: 346.8 kB / 3.312 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/5.678, allocations: 67.83 kB / 3.312 GB, free: 169.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/5.678, allocations: 131.7 kB / 3.312 GB, free: 169.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/5.678, allocations: 89.09 kB / 3.312 GB, free: 169.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/5.678, allocations: 0 / 3.312 GB, free: 169.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003146/5.678, allocations: 238.7 kB / 3.312 GB, free: 169 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/5.678, allocations: 5.406 kB / 3.312 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/5.678, allocations: 4 kB / 3.312 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/5.679, allocations: 160 / 3.312 GB, free: 169 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/5.679, allocations: 75.89 kB / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/5.679, allocations: 0 / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/5.679, allocations: 59.66 kB / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/5.679, allocations: 11.98 kB / 3.312 GB, free: 168.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/5.679, allocations: 120.9 kB / 3.312 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/5.679, allocations: 23.72 kB / 3.312 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/5.68, allocations: 237.3 kB / 3.313 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/5.68, allocations: 0 / 3.313 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/5.68, allocations: 8 kB / 3.313 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/5.68, allocations: 3.984 kB / 3.313 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/5.681, allocations: 0.8505 MB / 3.314 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/5.681, allocations: 4 kB / 3.314 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/5.681, allocations: 55.89 kB / 3.314 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/5.681, allocations: 4 kB / 3.314 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/5.681, allocations: 8 kB / 3.314 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/5.681, allocations: 0 / 3.314 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/5.681, allocations: 7.953 kB / 3.314 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/5.681, allocations: 0.5025 MB / 3.314 GB, free: 166.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/5.681, allocations: 132.8 kB / 3.314 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/5.682, allocations: 4 kB / 3.314 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/5.682, allocations: 39.94 kB / 3.314 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/5.682, allocations: 23.92 kB / 3.314 GB, free: 166.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/5.682, allocations: 12.06 kB / 3.314 GB, free: 166.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001276/5.682, allocations: 195 kB / 3.314 GB, free: 166.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/5.682, allocations: 0 / 3.314 GB, free: 166.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007067/5.683, allocations: 195.8 kB / 3.315 GB, free: 166.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/5.685, allocations: 2.382 MB / 3.317 GB, free: 163.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003007/5.685, allocations: 176.9 kB / 3.317 GB, free: 163.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/5.685, allocations: 3.938 kB / 3.317 GB, free: 163.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/5.685, allocations: 107.8 kB / 3.317 GB, free: 163.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/5.686, allocations: 121.4 kB / 3.317 GB, free: 163.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/5.687, allocations: 0.5487 MB / 3.318 GB, free: 162.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/5.687, allocations: 0.7878 MB / 3.319 GB, free: 162 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002455/5.687, allocations: 62.03 kB / 3.319 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/5.688, allocations: 91.41 kB / 3.319 GB, free: 161.8 MB / 1.167 GB Notification: Performance of SimCode: time 2.8e-07/5.688, allocations: 0 / 3.319 GB, free: 161.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/5.733, allocations: 26.23 MB / 3.344 GB, free: 135.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/5.733, allocations: 188.2 kB / 3.345 GB, free: 135.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/8.499, allocations: 3.938 kB / 3.345 GB, free: 135.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat does not exist to compare? outputFormat=mat