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.389/2.389, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001291/0.001291, allocations: 176 kB / 0.4902 GB, free: 2.223 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.853/1.853, allocations: 223.2 MB / 0.7992 GB, free: 15.67 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.001177/0.001177, allocations: 96.27 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004218, allocations: 10.25 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4009, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/5.956, allocations: 1.87 GB / 3.099 GB, free: 61.45 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/5.956, allocations: 91.64 kB / 3.099 GB, free: 61.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.281/7.237, allocations: 223.7 MB / 3.318 GB, free: 318.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.834e-06/7.237, allocations: 4 kB / 3.318 GB, free: 318.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.366e-05/7.237, allocations: 8 kB / 3.318 GB, free: 318.7 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.001315/7.238, allocations: 0.7097 MB / 3.318 GB, free: 317.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/7.238, allocations: 8.031 kB / 3.318 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/7.239, allocations: 84.75 kB / 3.319 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/7.239, allocations: 303 kB / 3.319 GB, free: 317.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/7.239, allocations: 24.55 kB / 3.319 GB, free: 317.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/7.239, allocations: 35.89 kB / 3.319 GB, free: 317.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/7.24, allocations: 332.2 kB / 3.319 GB, free: 317.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/7.24, allocations: 3.984 kB / 3.319 GB, free: 317.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/7.24, allocations: 8 kB / 3.319 GB, free: 317.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/7.24, allocations: 4 kB / 3.319 GB, free: 317.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006337/7.241, allocations: 305.5 kB / 3.32 GB, free: 316.8 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.001366/7.242, allocations: 1.055 MB / 3.321 GB, free: 315.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/7.243, allocations: 340.3 kB / 3.321 GB, free: 315.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005334/7.243, allocations: 388.7 kB / 3.321 GB, free: 314.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/7.244, allocations: 50.52 kB / 3.321 GB, free: 314.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/7.244, allocations: 0 / 3.321 GB, free: 314.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=19): time 0.001101/7.245, allocations: 438.2 kB / 3.322 GB, free: 314.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/7.245, allocations: 55.41 kB / 3.322 GB, free: 314.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/7.245, allocations: 242.1 kB / 3.322 GB, free: 314.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/7.245, allocations: 25.7 kB / 3.322 GB, free: 314 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/7.245, allocations: 172.3 kB / 3.322 GB, free: 313.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/7.245, allocations: 70.94 kB / 3.322 GB, free: 313.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/7.245, allocations: 4 kB / 3.322 GB, free: 313.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/7.245, allocations: 338.8 kB / 3.323 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/7.245, allocations: 115.8 kB / 3.323 GB, free: 313.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/7.246, allocations: 179.6 kB / 3.323 GB, free: 313.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/7.246, allocations: 141.9 kB / 3.323 GB, free: 313 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/7.246, allocations: 0 / 3.323 GB, free: 313 MB / 1.167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006411/7.247, allocations: 341.1 kB / 3.323 GB, free: 312.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/7.247, allocations: 13.05 kB / 3.323 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/7.247, allocations: 0 / 3.323 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/7.247, allocations: 4 kB / 3.323 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/7.247, allocations: 72.02 kB / 3.323 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/7.247, allocations: 4 kB / 3.323 GB, free: 312.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/7.247, allocations: 59.7 kB / 3.323 GB, free: 312.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/7.247, allocations: 4 kB / 3.323 GB, free: 312.5 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.0001287/7.247, allocations: 157.8 kB / 3.324 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/7.248, allocations: 23.72 kB / 3.324 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/7.248, allocations: 348.9 kB / 3.324 GB, free: 312 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/7.248, allocations: 4 kB / 3.324 GB, free: 312 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/7.248, allocations: 0 / 3.324 GB, free: 312 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/7.248, allocations: 3.953 kB / 3.324 GB, free: 312 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/7.25, allocations: 0.9331 MB / 3.325 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/7.25, allocations: 4 kB / 3.325 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/7.25, allocations: 60.08 kB / 3.325 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/7.25, allocations: 4 kB / 3.325 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/7.25, allocations: 11.94 kB / 3.325 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/7.25, allocations: 7.938 kB / 3.325 GB, free: 310.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/7.25, allocations: 0 / 3.325 GB, free: 310.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/7.251, allocations: 0.6672 MB / 3.326 GB, free: 310.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/7.251, allocations: 124.8 kB / 3.326 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/7.251, allocations: 8 kB / 3.326 GB, free: 310 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/7.251, allocations: 40.02 kB / 3.326 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/7.251, allocations: 15.98 kB / 3.326 GB, free: 309.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/7.251, allocations: 8 kB / 3.326 GB, free: 309.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001315/7.252, allocations: 197.9 kB / 3.326 GB, free: 309.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1e-07/7.252, allocations: 0 / 3.326 GB, free: 309.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007571/7.252, allocations: 207.7 kB / 3.326 GB, free: 309.5 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.001387/7.254, allocations: 1.018 MB / 3.327 GB, free: 308.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006453/7.254, allocations: 281.4 kB / 3.327 GB, free: 308.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/7.254, allocations: 4 kB / 3.327 GB, free: 308.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/7.255, allocations: 156.2 kB / 3.328 GB, free: 308.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/7.255, allocations: 123.5 kB / 3.328 GB, free: 307.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/7.256, allocations: 0.7121 MB / 3.328 GB, free: 307.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/7.257, allocations: 0.7917 MB / 3.329 GB, free: 306.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002434/7.257, allocations: 54.27 kB / 3.329 GB, free: 306.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/7.257, allocations: 23.44 kB / 3.329 GB, free: 306.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.51e-07/7.257, allocations: 4 kB / 3.329 GB, free: 306.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02027/7.277, allocations: 17.29 MB / 3.346 GB, free: 289.1 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