Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001112/0.001112, allocations: 181 kB / 498.1 MB, free: 5.742 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.522/1.522, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.001037/0.001037, allocations: 92.33 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004234, allocations: 14.19 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2865, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.147/4.433, allocations: 1.869 GB / 3.092 GB, free: 146.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/4.434, allocations: 92.52 kB / 3.092 GB, free: 146.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.077/5.51, allocations: 223.6 MB / 3.311 GB, free: 388.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.314e-06/5.511, allocations: 0 / 3.311 GB, free: 388.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.254e-05/5.511, allocations: 13.44 kB / 3.311 GB, free: 388.9 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.001703/5.512, allocations: 0.7117 MB / 3.311 GB, free: 388.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/5.512, allocations: 11.22 kB / 3.311 GB, free: 388.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/5.512, allocations: 56.84 kB / 3.311 GB, free: 388.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005617/5.513, allocations: 83.19 kB / 3.312 GB, free: 388.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/5.514, allocations: 306.7 kB / 3.312 GB, free: 388 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/5.514, allocations: 20.41 kB / 3.312 GB, free: 388 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/5.514, allocations: 21.52 kB / 3.312 GB, free: 388 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/5.514, allocations: 342.7 kB / 3.312 GB, free: 387.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/5.514, allocations: 3.953 kB / 3.312 GB, free: 387.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/5.514, allocations: 8 kB / 3.312 GB, free: 387.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/5.514, allocations: 7.781 kB / 3.312 GB, free: 387.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/5.515, allocations: 310.1 kB / 3.313 GB, free: 387.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001619/5.517, allocations: 1.066 MB / 3.314 GB, free: 386.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/5.518, allocations: 334.9 kB / 3.314 GB, free: 386.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/5.518, allocations: 388.7 kB / 3.314 GB, free: 386.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/5.518, allocations: 34.56 kB / 3.314 GB, free: 386.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 3.126e-06/5.518, allocations: 0 / 3.314 GB, free: 386.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001181/5.519, allocations: 443.9 kB / 3.315 GB, free: 385.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/5.519, allocations: 59.08 kB / 3.315 GB, free: 385.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/5.52, allocations: 236 kB / 3.315 GB, free: 385.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/5.52, allocations: 33.64 kB / 3.315 GB, free: 385.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/5.52, allocations: 173 kB / 3.315 GB, free: 385.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/5.52, allocations: 62.67 kB / 3.315 GB, free: 385.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/5.52, allocations: 3.781 kB / 3.315 GB, free: 385.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/5.52, allocations: 334.8 kB / 3.316 GB, free: 385.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/5.52, allocations: 120.1 kB / 3.316 GB, free: 385 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/5.521, allocations: 191.2 kB / 3.316 GB, free: 384.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/5.521, allocations: 132.4 kB / 3.316 GB, free: 384.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/5.521, allocations: 0 / 3.316 GB, free: 384.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006848/5.522, allocations: 345.3 kB / 3.316 GB, free: 384.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/5.522, allocations: 6.969 kB / 3.316 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/5.522, allocations: 0 / 3.316 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/5.522, allocations: 3.844 kB / 3.316 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/5.522, allocations: 61.27 kB / 3.316 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/5.522, allocations: 7.891 kB / 3.316 GB, free: 384.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/5.522, allocations: 64.64 kB / 3.316 GB, free: 384.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/5.522, allocations: 11.5 kB / 3.316 GB, free: 384.6 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 () * Number of clocked 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 0.0001511/5.522, allocations: 143.4 kB / 3.317 GB, free: 384.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/5.523, allocations: 29.97 kB / 3.317 GB, free: 384.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/5.523, allocations: 346.1 kB / 3.317 GB, free: 384.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/5.523, allocations: 3.781 kB / 3.317 GB, free: 384.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/5.523, allocations: 7.984 kB / 3.317 GB, free: 384.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/5.523, allocations: 0 / 3.317 GB, free: 384.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/5.525, allocations: 0.9582 MB / 3.318 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/5.525, allocations: 0 / 3.318 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/5.525, allocations: 64.48 kB / 3.318 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/5.525, allocations: 0 / 3.318 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/5.525, allocations: 7.953 kB / 3.318 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/5.525, allocations: 7.406 kB / 3.318 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/5.525, allocations: 3.875 kB / 3.318 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/5.526, allocations: 0.6563 MB / 3.319 GB, free: 383 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/5.526, allocations: 124.4 kB / 3.319 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/5.526, allocations: 7.984 kB / 3.319 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/5.527, allocations: 50.28 kB / 3.319 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/5.527, allocations: 20.41 kB / 3.319 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/5.527, allocations: 12 kB / 3.319 GB, free: 382.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001596/5.527, allocations: 193.9 kB / 3.319 GB, free: 382.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/5.527, allocations: 0 / 3.319 GB, free: 382.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008701/5.528, allocations: 191.9 kB / 3.319 GB, free: 382.4 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 () * Number of clocked 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.003051/5.531, allocations: 2.545 MB / 3.322 GB, free: 379.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006858/5.532, allocations: 277 kB / 3.322 GB, free: 379.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/5.532, allocations: 0 / 3.322 GB, free: 379.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/5.532, allocations: 158.6 kB / 3.322 GB, free: 379.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/5.533, allocations: 125.5 kB / 3.322 GB, free: 379.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/5.536, allocations: 2.58 MB / 3.325 GB, free: 376.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/5.536, allocations: 0.7955 MB / 3.326 GB, free: 375.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002868/5.536, allocations: 62.25 kB / 3.326 GB, free: 375.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/5.537, allocations: 87.41 kB / 3.326 GB, free: 375.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/5.537, allocations: 0 / 3.326 GB, free: 375.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/5.579, allocations: 23.44 MB / 3.349 GB, free: 352.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/5.579, allocations: 221.4 kB / 3.349 GB, free: 352.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/8.299, allocations: 0 / 3.349 GB, free: 352.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_RelativeHumidity.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat does not exist to compare? outputFormat=mat