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.394/2.394, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.002399/0.002399, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.821/1.821, allocations: 223.2 MB / 0.7949 GB, free: 17.94 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.001302/0.001302, allocations: 106.8 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 14.03 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3406, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.353/4.694, allocations: 1.869 GB / 3.092 GB, free: 117 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/4.694, allocations: 92.47 kB / 3.092 GB, free: 116.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.197/5.891, allocations: 223.6 MB / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.104e-06/5.891, allocations: 0 / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.738e-05/5.891, allocations: 16 kB / 3.311 GB, free: 372.6 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.001728/5.893, allocations: 0.7052 MB / 3.311 GB, free: 371.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/5.893, allocations: 8.031 kB / 3.311 GB, free: 371.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/5.893, allocations: 84.75 kB / 3.311 GB, free: 371.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/5.894, allocations: 307.9 kB / 3.312 GB, free: 371.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/5.894, allocations: 20.55 kB / 3.312 GB, free: 371.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/5.894, allocations: 24 kB / 3.312 GB, free: 371.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/5.895, allocations: 344.2 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/5.895, allocations: 3.953 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/5.895, allocations: 8 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/5.895, allocations: 8 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/5.896, allocations: 305.5 kB / 3.312 GB, free: 370.7 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.001942/5.898, allocations: 1.055 MB / 3.313 GB, free: 369.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/5.898, allocations: 335.6 kB / 3.314 GB, free: 369.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/5.899, allocations: 392.3 kB / 3.314 GB, free: 368.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/5.899, allocations: 46.48 kB / 3.314 GB, free: 368.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 3.266e-06/5.899, allocations: 3.984 kB / 3.314 GB, free: 368.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001197/5.9, allocations: 434.5 kB / 3.315 GB, free: 368.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/5.9, allocations: 59.36 kB / 3.315 GB, free: 368.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/5.901, allocations: 234.2 kB / 3.315 GB, free: 368 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/5.901, allocations: 33.7 kB / 3.315 GB, free: 367.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/5.901, allocations: 176.2 kB / 3.315 GB, free: 367.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/5.901, allocations: 63.05 kB / 3.315 GB, free: 367.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/5.901, allocations: 8 kB / 3.315 GB, free: 367.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/5.901, allocations: 334.8 kB / 3.315 GB, free: 367.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/5.901, allocations: 119.9 kB / 3.316 GB, free: 367.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/5.901, allocations: 186.1 kB / 3.316 GB, free: 367 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/5.902, allocations: 133 kB / 3.316 GB, free: 366.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/5.902, allocations: 0 / 3.316 GB, free: 366.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006796/5.902, allocations: 346 kB / 3.316 GB, free: 366.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/5.902, allocations: 4 kB / 3.316 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/5.902, allocations: 8.062 kB / 3.316 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/5.902, allocations: 4 kB / 3.316 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/5.903, allocations: 68.08 kB / 3.316 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/5.903, allocations: 3.953 kB / 3.316 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/5.903, allocations: 47.81 kB / 3.316 GB, free: 366.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/5.903, allocations: 19.98 kB / 3.316 GB, free: 366.4 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.0001469/5.903, allocations: 153.7 kB / 3.317 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/5.903, allocations: 23.72 kB / 3.317 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/5.904, allocations: 348.9 kB / 3.317 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/5.904, allocations: 0 / 3.317 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/5.904, allocations: 0 / 3.317 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/5.904, allocations: 3.984 kB / 3.317 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/5.906, allocations: 0.9486 MB / 3.318 GB, free: 364.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/5.906, allocations: 0 / 3.318 GB, free: 364.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/5.906, allocations: 64.14 kB / 3.318 GB, free: 364.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/5.906, allocations: 4 kB / 3.318 GB, free: 364.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/5.906, allocations: 7.953 kB / 3.318 GB, free: 364.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/5.906, allocations: 7.875 kB / 3.318 GB, free: 364.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/5.906, allocations: 4 kB / 3.318 GB, free: 364.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/5.907, allocations: 0.6604 MB / 3.319 GB, free: 364 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/5.907, allocations: 124.7 kB / 3.319 GB, free: 363.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/5.907, allocations: 11.95 kB / 3.319 GB, free: 363.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/5.907, allocations: 39.97 kB / 3.319 GB, free: 363.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/5.907, allocations: 19.97 kB / 3.319 GB, free: 363.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/5.907, allocations: 8 kB / 3.319 GB, free: 363.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001475/5.908, allocations: 190 kB / 3.319 GB, free: 363.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.908, allocations: 0 / 3.319 GB, free: 363.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008806/5.908, allocations: 199.9 kB / 3.319 GB, free: 363.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.001668/5.91, allocations: 1.034 MB / 3.32 GB, free: 362.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006501/5.911, allocations: 283.9 kB / 3.32 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/5.911, allocations: 0 / 3.32 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/5.911, allocations: 148.3 kB / 3.321 GB, free: 361.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/5.912, allocations: 121.6 kB / 3.321 GB, free: 361.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/5.913, allocations: 0.7173 MB / 3.321 GB, free: 361 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/5.913, allocations: 0.7839 MB / 3.322 GB, free: 360.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002653/5.913, allocations: 66.23 kB / 3.322 GB, free: 360.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.359e-05/5.913, allocations: 23.44 kB / 3.322 GB, free: 360.1 MB / 1.167 GB Notification: Performance of SimCode: time 3e-07/5.913, allocations: 0 / 3.322 GB, free: 360.1 MB / 1.167 GB Notification: Performance of Templates: time 0.02202/5.935, allocations: 17.29 MB / 3.339 GB, free: 342.9 MB / 1.167 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