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: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relHum.port_a.m_flow|relHum.phi|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 387.1 MB / 399.7 MB, free: 9.41 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.001081/0.001081, allocations: 175.6 kB / 492.3 MB, free: 0.6016 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.617/1.617, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009051/0.000905, allocations: 95.45 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.457e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3161, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.654/5.97, allocations: 1.869 GB / 3.082 GB, free: 435.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/5.97, allocations: 84.39 kB / 3.082 GB, free: 435.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.444/6.414, allocations: 223.5 MB / 3.3 GB, free: 234.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.675e-06/6.414, allocations: 0 / 3.3 GB, free: 234.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.206e-05/6.414, allocations: 8 kB / 3.3 GB, free: 234.5 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.001559/6.416, allocations: 0.678 MB / 3.301 GB, free: 233.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/6.416, allocations: 8.031 kB / 3.301 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006526/6.417, allocations: 83.53 kB / 3.301 GB, free: 233.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/6.417, allocations: 302 kB / 3.301 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/6.417, allocations: 20.56 kB / 3.301 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/6.417, allocations: 24 kB / 3.301 GB, free: 233.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/6.418, allocations: 280.3 kB / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/6.418, allocations: 7.984 kB / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/6.418, allocations: 12 kB / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/6.418, allocations: 4 kB / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/6.418, allocations: 193.7 kB / 3.301 GB, free: 232.8 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.001614/6.42, allocations: 1.083 MB / 3.303 GB, free: 231.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/6.421, allocations: 275.8 kB / 3.303 GB, free: 231.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/6.421, allocations: 88.84 kB / 3.303 GB, free: 231.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/6.421, allocations: 396.3 kB / 3.303 GB, free: 230.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/6.421, allocations: 38.56 kB / 3.303 GB, free: 230.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.244e-06/6.421, allocations: 4 kB / 3.303 GB, free: 230.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0005928/6.422, allocations: 215 kB / 3.303 GB, free: 230.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/6.422, allocations: 51.41 kB / 3.304 GB, free: 230.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/6.422, allocations: 235.5 kB / 3.304 GB, free: 230.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/6.422, allocations: 29.7 kB / 3.304 GB, free: 230.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/6.422, allocations: 172.3 kB / 3.304 GB, free: 230.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/6.422, allocations: 67.09 kB / 3.304 GB, free: 230 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/6.422, allocations: 4 kB / 3.304 GB, free: 230 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/6.423, allocations: 342.8 kB / 3.304 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/6.423, allocations: 63.97 kB / 3.304 GB, free: 229.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/6.423, allocations: 141.3 kB / 3.305 GB, free: 229.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/6.423, allocations: 85.16 kB / 3.305 GB, free: 229.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/6.423, allocations: 0 / 3.305 GB, free: 229.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000373/6.423, allocations: 241.1 kB / 3.305 GB, free: 229.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/6.423, allocations: 8 kB / 3.305 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/6.423, allocations: 4.156 kB / 3.305 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/6.423, allocations: 4 kB / 3.305 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/6.424, allocations: 63.89 kB / 3.305 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/6.424, allocations: 0 / 3.305 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/6.424, allocations: 55.75 kB / 3.305 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/6.424, allocations: 11.98 kB / 3.305 GB, free: 228.9 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 0.0001078/6.424, allocations: 126 kB / 3.305 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/6.424, allocations: 23.72 kB / 3.305 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004879/6.425, allocations: 239.4 kB / 3.305 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/6.425, allocations: 8 kB / 3.305 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/6.425, allocations: 3.938 kB / 3.305 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/6.425, allocations: 3.984 kB / 3.305 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/6.426, allocations: 0.8502 MB / 3.306 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/6.426, allocations: 7.984 kB / 3.306 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/6.426, allocations: 51.95 kB / 3.306 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/6.426, allocations: 4 kB / 3.306 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/6.427, allocations: 8 kB / 3.306 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/6.427, allocations: 8.188 kB / 3.306 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/6.427, allocations: 3.938 kB / 3.306 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/6.427, allocations: 0.5083 MB / 3.307 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/6.427, allocations: 128.7 kB / 3.307 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/6.427, allocations: 4 kB / 3.307 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/6.428, allocations: 40.16 kB / 3.307 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/6.428, allocations: 31.86 kB / 3.307 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/6.428, allocations: 4 kB / 3.307 GB, free: 226.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001891/6.428, allocations: 195.1 kB / 3.307 GB, free: 226.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/6.428, allocations: 0 / 3.307 GB, free: 226.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001194/6.429, allocations: 199.8 kB / 3.307 GB, free: 226.3 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.0024/6.432, allocations: 1.014 MB / 3.308 GB, free: 225.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004207/6.432, allocations: 176.5 kB / 3.309 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/6.432, allocations: 0 / 3.309 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/6.432, allocations: 96.23 kB / 3.309 GB, free: 225 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/6.433, allocations: 132.3 kB / 3.309 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/6.434, allocations: 455.9 kB / 3.309 GB, free: 224.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/6.434, allocations: 0.7877 MB / 3.31 GB, free: 223.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003006/6.435, allocations: 66.02 kB / 3.31 GB, free: 223.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.463e-05/6.435, allocations: 27.44 kB / 3.31 GB, free: 223.5 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/6.435, allocations: 3.938 kB / 3.31 GB, free: 223.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02856/6.463, allocations: 20 MB / 3.33 GB, free: 203.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches