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.251/2.251, allocations: 390.5 MB / 398 MB, free: 10.92 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.001038/0.001038, allocations: 168.9 kB / 491.2 MB, free: 1.586 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.37/1.37, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001008/0.001007, allocations: 95.86 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.921e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2556, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.942/6.198, allocations: 1.869 GB / 3.082 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/6.198, allocations: 88.09 kB / 3.082 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4454/6.644, allocations: 220.5 MB / 3.297 GB, free: 193.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.314e-06/6.644, allocations: 0 / 3.297 GB, free: 193.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.086e-05/6.644, allocations: 15.98 kB / 3.297 GB, free: 193.8 MB / 1.151 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.001643/6.645, allocations: 0.6704 MB / 3.298 GB, free: 193 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/6.645, allocations: 12.03 kB / 3.298 GB, free: 193 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/6.646, allocations: 87.52 kB / 3.298 GB, free: 192.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/6.647, allocations: 302 kB / 3.298 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/6.647, allocations: 8 kB / 3.298 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/6.647, allocations: 15.94 kB / 3.298 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003531/6.647, allocations: 189 kB / 3.298 GB, free: 192.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/6.647, allocations: 247.2 kB / 3.299 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/6.647, allocations: 4 kB / 3.299 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/6.647, allocations: 3.984 kB / 3.299 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/6.647, allocations: 7.953 kB / 3.299 GB, free: 192.1 MB / 1.151 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.001633/6.649, allocations: 1.001 MB / 3.3 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/6.65, allocations: 264.7 kB / 3.3 GB, free: 190.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/6.65, allocations: 88.83 kB / 3.3 GB, free: 190.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006002/6.651, allocations: 388.4 kB / 3.3 GB, free: 190.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/6.651, allocations: 34.56 kB / 3.3 GB, free: 190.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.745e-06/6.651, allocations: 7.938 kB / 3.3 GB, free: 190.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001179/6.652, allocations: 310.5 kB / 3.301 GB, free: 189.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/6.652, allocations: 59.34 kB / 3.301 GB, free: 189.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/6.652, allocations: 188.5 kB / 3.301 GB, free: 189.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/6.652, allocations: 25.7 kB / 3.301 GB, free: 189.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/6.652, allocations: 168.2 kB / 3.301 GB, free: 189.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/6.652, allocations: 67.05 kB / 3.301 GB, free: 189.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/6.652, allocations: 0 / 3.301 GB, free: 189.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.235e-05/6.652, allocations: 334.8 kB / 3.301 GB, free: 189 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/6.652, allocations: 63.84 kB / 3.302 GB, free: 189 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/6.652, allocations: 127.7 kB / 3.302 GB, free: 188.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/6.653, allocations: 180.8 kB / 3.302 GB, free: 188.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/6.653, allocations: 0 / 3.302 GB, free: 188.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008223/6.654, allocations: 318.1 kB / 3.302 GB, free: 188.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/6.654, allocations: 13.5 kB / 3.302 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/6.654, allocations: 0 / 3.302 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/6.654, allocations: 4 kB / 3.302 GB, free: 188.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/6.654, allocations: 63.89 kB / 3.302 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/6.654, allocations: 4 kB / 3.302 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/6.655, allocations: 47.86 kB / 3.302 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/6.655, allocations: 12.12 kB / 3.302 GB, free: 188.2 MB / 1.151 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 9.333e-05/6.655, allocations: 108.9 kB / 3.302 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007996/6.656, allocations: 294.4 kB / 3.303 GB, free: 187.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/6.656, allocations: 23.72 kB / 3.303 GB, free: 187.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/6.657, allocations: 316.9 kB / 3.303 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/6.657, allocations: 4 kB / 3.303 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/6.657, allocations: 3.984 kB / 3.303 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/6.657, allocations: 0 / 3.303 GB, free: 187.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/6.658, allocations: 0.8828 MB / 3.304 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/6.658, allocations: 0 / 3.304 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002712/6.659, allocations: 60.09 kB / 3.304 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/6.659, allocations: 4 kB / 3.304 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/6.659, allocations: 0 / 3.304 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/6.659, allocations: 7.984 kB / 3.304 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/6.659, allocations: 4 kB / 3.304 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/6.66, allocations: 0.5933 MB / 3.305 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/6.66, allocations: 120.7 kB / 3.305 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/6.66, allocations: 7.984 kB / 3.305 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/6.66, allocations: 32.03 kB / 3.305 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/6.66, allocations: 15.98 kB / 3.305 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/6.66, allocations: 19.94 kB / 3.305 GB, free: 185.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001372/6.661, allocations: 152.4 kB / 3.305 GB, free: 185.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.81e-07/6.661, allocations: 0 / 3.305 GB, free: 185.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00089/6.662, allocations: 171.8 kB / 3.305 GB, free: 185.2 MB / 1.151 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.003279/6.665, allocations: 2.601 MB / 3.308 GB, free: 182.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004147/6.665, allocations: 164.6 kB / 3.308 GB, free: 182.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/6.665, allocations: 0 / 3.308 GB, free: 182.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/6.665, allocations: 91.92 kB / 3.308 GB, free: 182.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/6.666, allocations: 87.5 kB / 3.308 GB, free: 182.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/6.667, allocations: 0.5401 MB / 3.308 GB, free: 181.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/6.668, allocations: 0.7797 MB / 3.309 GB, free: 180.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000257/6.668, allocations: 66.02 kB / 3.309 GB, free: 180.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/6.668, allocations: 83.41 kB / 3.309 GB, free: 180.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.9e-07/6.668, allocations: 0 / 3.309 GB, free: 180.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/6.706, allocations: 14.22 MB / 3.323 GB, free: 166.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/6.706, allocations: 177.3 kB / 3.323 GB, free: 166.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/8.931, allocations: 0 / 3.323 GB, free: 166.3 MB / 1.151 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