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.096/2.096, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001174/0.001174, allocations: 179.3 kB / 492.3 MB, free: 0.6172 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.393/1.393, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001014/0.001014, allocations: 91.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.118e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2722, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.202/5.474, allocations: 1.869 GB / 3.082 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/5.474, allocations: 91.78 kB / 3.082 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4517/5.926, allocations: 223.4 MB / 3.3 GB, free: 192.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.112e-06/5.926, allocations: 0 / 3.3 GB, free: 192.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.975e-05/5.926, allocations: 12 kB / 3.3 GB, free: 192.7 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.001225/5.927, allocations: 0.6666 MB / 3.301 GB, free: 191.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/5.927, allocations: 12.03 kB / 3.301 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.684e-05/5.928, allocations: 62.53 kB / 3.301 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/5.928, allocations: 79.52 kB / 3.301 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/5.929, allocations: 310 kB / 3.301 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/5.929, allocations: 20.56 kB / 3.301 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/5.929, allocations: 24 kB / 3.301 GB, free: 191.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/5.929, allocations: 288.3 kB / 3.301 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/5.929, allocations: 0 / 3.301 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/5.929, allocations: 8 kB / 3.301 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/5.929, allocations: 8 kB / 3.301 GB, free: 191.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/5.93, allocations: 201.6 kB / 3.302 GB, free: 190.9 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.001391/5.931, allocations: 1.063 MB / 3.303 GB, free: 189.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/5.932, allocations: 283.7 kB / 3.303 GB, free: 189.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/5.932, allocations: 98.02 kB / 3.303 GB, free: 189.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000508/5.932, allocations: 392.3 kB / 3.303 GB, free: 188.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/5.932, allocations: 34.56 kB / 3.303 GB, free: 188.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/5.932, allocations: 4 kB / 3.303 GB, free: 188.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005218/5.933, allocations: 217.6 kB / 3.304 GB, free: 188.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/5.933, allocations: 51.41 kB / 3.304 GB, free: 188.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/5.933, allocations: 231.5 kB / 3.304 GB, free: 188.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/5.933, allocations: 37.7 kB / 3.304 GB, free: 188.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/5.933, allocations: 172.3 kB / 3.304 GB, free: 188.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/5.933, allocations: 63.11 kB / 3.304 GB, free: 188.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/5.933, allocations: 0 / 3.304 GB, free: 188.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/5.933, allocations: 346.8 kB / 3.305 GB, free: 187.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/5.933, allocations: 63.92 kB / 3.305 GB, free: 187.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/5.933, allocations: 141.2 kB / 3.305 GB, free: 187.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/5.934, allocations: 85.44 kB / 3.305 GB, free: 187.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/5.934, allocations: 0 / 3.305 GB, free: 187.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003314/5.934, allocations: 246.3 kB / 3.305 GB, free: 187.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/5.934, allocations: 4 kB / 3.305 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/5.934, allocations: 4 kB / 3.305 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/5.934, allocations: 3.984 kB / 3.305 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/5.934, allocations: 68.02 kB / 3.305 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/5.934, allocations: 4.156 kB / 3.305 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/5.935, allocations: 59.73 kB / 3.305 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/5.935, allocations: 8 kB / 3.305 GB, free: 187 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 6.852e-05/5.935, allocations: 120.9 kB / 3.305 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/5.935, allocations: 31.66 kB / 3.305 GB, free: 186.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/5.935, allocations: 236.6 kB / 3.306 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/5.935, allocations: 0 / 3.306 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/5.935, allocations: 4 kB / 3.306 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/5.935, allocations: 3.984 kB / 3.306 GB, free: 186.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009028/5.936, allocations: 0.8498 MB / 3.306 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/5.936, allocations: 4 kB / 3.306 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/5.936, allocations: 60.08 kB / 3.306 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/5.936, allocations: 4 kB / 3.306 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/5.936, allocations: 8 kB / 3.306 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/5.936, allocations: 0 / 3.306 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/5.936, allocations: 4 kB / 3.306 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/5.937, allocations: 0.5112 MB / 3.307 GB, free: 185 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/5.937, allocations: 132.7 kB / 3.307 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/5.937, allocations: 4 kB / 3.307 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/5.937, allocations: 31.97 kB / 3.307 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/5.937, allocations: 27.92 kB / 3.307 GB, free: 184.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/5.937, allocations: 8 kB / 3.307 GB, free: 184.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001337/5.938, allocations: 191.1 kB / 3.307 GB, free: 184.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.938, allocations: 3.938 kB / 3.307 GB, free: 184.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007407/5.938, allocations: 199.8 kB / 3.308 GB, free: 184.4 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.002009/5.94, allocations: 2.38 MB / 3.31 GB, free: 182 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003113/5.941, allocations: 176.6 kB / 3.31 GB, free: 181.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/5.941, allocations: 0 / 3.31 GB, free: 181.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/5.941, allocations: 108.4 kB / 3.31 GB, free: 181.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/5.941, allocations: 120.8 kB / 3.31 GB, free: 181.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/5.943, allocations: 0.5443 MB / 3.311 GB, free: 181 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/5.943, allocations: 0.7878 MB / 3.312 GB, free: 180.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000236/5.943, allocations: 62.03 kB / 3.312 GB, free: 180.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/5.943, allocations: 87.41 kB / 3.312 GB, free: 180 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.943, allocations: 0 / 3.312 GB, free: 180 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/5.978, allocations: 26.23 MB / 3.337 GB, free: 153.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/5.978, allocations: 190.9 kB / 3.337 GB, free: 153.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/8.691, allocations: 3.375 kB / 3.337 GB, free: 153.7 MB / 1.151 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