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: 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_latest_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_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 390.3 MB / 402.8 MB, free: 6.734 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.001031/0.001031, allocations: 184.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001056/0.001056, allocations: 87.91 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.909e-05/4.937e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3873, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.183/6.571, allocations: 1.87 GB / 3.089 GB, free: 436.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004124/6.571, allocations: 84.02 kB / 3.089 GB, free: 436.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4194/6.991, allocations: 223.4 MB / 3.307 GB, free: 217.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.873e-06/6.991, allocations: 0 / 3.307 GB, free: 217.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.9e-05/6.991, allocations: 11.98 kB / 3.307 GB, free: 217.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.001497/6.992, allocations: 0.6625 MB / 3.308 GB, free: 217.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/6.992, allocations: 8.031 kB / 3.308 GB, free: 217.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/6.993, allocations: 91.5 kB / 3.308 GB, free: 217.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/6.993, allocations: 309.9 kB / 3.308 GB, free: 216.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/6.993, allocations: 24.56 kB / 3.308 GB, free: 216.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/6.993, allocations: 24 kB / 3.308 GB, free: 216.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/6.994, allocations: 280.3 kB / 3.308 GB, free: 216.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/6.994, allocations: 3.938 kB / 3.308 GB, free: 216.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/6.994, allocations: 12 kB / 3.308 GB, free: 216.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/6.994, allocations: 4 kB / 3.308 GB, free: 216.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/6.994, allocations: 201.6 kB / 3.309 GB, free: 216.2 MB / 1.167 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.001471/6.996, allocations: 1.067 MB / 3.31 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/6.996, allocations: 275.7 kB / 3.31 GB, free: 214.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/6.997, allocations: 97.52 kB / 3.31 GB, free: 214.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/6.997, allocations: 392.3 kB / 3.31 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/6.997, allocations: 34.56 kB / 3.31 GB, free: 214.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 3.306e-06/6.997, allocations: 0 / 3.31 GB, free: 214.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.0005443/6.998, allocations: 222.6 kB / 3.311 GB, free: 214 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/6.998, allocations: 55.41 kB / 3.311 GB, free: 213.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/6.998, allocations: 239.5 kB / 3.311 GB, free: 213.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/6.998, allocations: 25.7 kB / 3.311 GB, free: 213.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/6.998, allocations: 172.3 kB / 3.311 GB, free: 213.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/6.998, allocations: 63.09 kB / 3.311 GB, free: 213.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/6.998, allocations: 4 kB / 3.311 GB, free: 213.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/6.998, allocations: 342.8 kB / 3.312 GB, free: 213 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/6.998, allocations: 63.84 kB / 3.312 GB, free: 213 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/6.998, allocations: 139.6 kB / 3.312 GB, free: 212.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/6.999, allocations: 84.98 kB / 3.312 GB, free: 212.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/6.999, allocations: 3.938 kB / 3.312 GB, free: 212.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003498/6.999, allocations: 234.9 kB / 3.312 GB, free: 212.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/6.999, allocations: 9.562 kB / 3.312 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/6.999, allocations: 0 / 3.312 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/6.999, allocations: 7.984 kB / 3.312 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/6.999, allocations: 68.06 kB / 3.312 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/6.999, allocations: 7.922 kB / 3.312 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/7, allocations: 59.64 kB / 3.312 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/7, allocations: 12 kB / 3.312 GB, free: 212.3 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 () * 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 8.53e-05/7, allocations: 120.9 kB / 3.312 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/7, allocations: 23.72 kB / 3.312 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/7, allocations: 241.3 kB / 3.313 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/7, allocations: 4 kB / 3.313 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/7, allocations: 0 / 3.313 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/7, allocations: 0 / 3.313 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/7.001, allocations: 0.8549 MB / 3.313 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/7.001, allocations: 4 kB / 3.313 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/7.002, allocations: 56.09 kB / 3.313 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/7.002, allocations: 4 kB / 3.313 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/7.002, allocations: 11.98 kB / 3.313 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/7.002, allocations: 12.11 kB / 3.313 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/7.002, allocations: 0 / 3.313 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/7.002, allocations: 0.5063 MB / 3.314 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/7.002, allocations: 124.8 kB / 3.314 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/7.002, allocations: 8 kB / 3.314 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/7.003, allocations: 43.92 kB / 3.314 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/7.003, allocations: 27.88 kB / 3.314 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/7.003, allocations: 4 kB / 3.314 GB, free: 210.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001469/7.003, allocations: 191.1 kB / 3.314 GB, free: 209.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.003, allocations: 0 / 3.314 GB, free: 209.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009042/7.004, allocations: 195.8 kB / 3.315 GB, free: 209.7 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 () * 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.001794/7.006, allocations: 1.017 MB / 3.316 GB, free: 208.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003707/7.006, allocations: 177.3 kB / 3.316 GB, free: 208.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/7.006, allocations: 0 / 3.316 GB, free: 208.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/7.006, allocations: 99.84 kB / 3.316 GB, free: 208.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/7.007, allocations: 129.4 kB / 3.316 GB, free: 208.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/7.008, allocations: 456.3 kB / 3.316 GB, free: 207.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/7.008, allocations: 0.7916 MB / 3.317 GB, free: 207 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002606/7.008, allocations: 66.02 kB / 3.317 GB, free: 206.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/7.009, allocations: 27.44 kB / 3.317 GB, free: 206.9 MB / 1.167 GB Notification: Performance of SimCode: time 4.21e-07/7.009, allocations: 0 / 3.317 GB, free: 206.9 MB / 1.167 GB Notification: Performance of Templates: time 0.02339/7.032, allocations: 20.01 MB / 3.337 GB, free: 186.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches