Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 184.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 92.47 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.69e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2561, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.035/6.292, allocations: 2.182 GB / 3.068 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/6.292, allocations: 86.55 kB / 3.068 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4012/6.693, allocations: 211.5 MB / 3.274 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.483e-06/6.693, allocations: 0 / 3.274 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.57e-05/6.693, allocations: 15.94 kB / 3.274 GB, free: 10.02 MB / 0.8698 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.001345/6.695, allocations: 0.6658 MB / 3.275 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/6.695, allocations: 12.56 kB / 3.275 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005617/6.695, allocations: 79.52 kB / 3.275 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/6.696, allocations: 300.1 kB / 3.275 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/6.696, allocations: 8 kB / 3.275 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/6.696, allocations: 15.94 kB / 3.275 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003433/6.696, allocations: 189 kB / 3.275 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/6.697, allocations: 259.2 kB / 3.276 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/6.697, allocations: 0 / 3.276 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/6.697, allocations: 0 / 3.276 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/6.697, allocations: 7.953 kB / 3.276 GB, free: 8.398 MB / 0.8698 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.001441/6.698, allocations: 0.985 MB / 3.277 GB, free: 7.359 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/6.699, allocations: 271.7 kB / 3.277 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/6.699, allocations: 94.89 kB / 3.277 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/6.699, allocations: 388.3 kB / 3.277 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/6.699, allocations: 42.56 kB / 3.277 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/6.699, allocations: 0 / 3.277 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001097/6.701, allocations: 309.4 kB / 3.278 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/6.701, allocations: 55.41 kB / 3.278 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/6.701, allocations: 176.5 kB / 3.278 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/6.701, allocations: 29.69 kB / 3.278 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/6.701, allocations: 172.1 kB / 3.278 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/6.701, allocations: 67 kB / 3.278 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/6.701, allocations: 0 / 3.278 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/6.701, allocations: 330.8 kB / 3.278 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/6.701, allocations: 63.98 kB / 3.279 GB, free: 5.242 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/6.701, allocations: 128 kB / 3.279 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/6.702, allocations: 173.3 kB / 3.279 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/6.702, allocations: 0 / 3.279 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008064/6.703, allocations: 313.2 kB / 3.279 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/6.703, allocations: 4 kB / 3.279 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/6.703, allocations: 4 kB / 3.279 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/6.703, allocations: 0 / 3.279 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/6.703, allocations: 71.89 kB / 3.279 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/6.703, allocations: 0 / 3.279 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/6.703, allocations: 47.97 kB / 3.279 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/6.703, allocations: 4 kB / 3.279 GB, free: 4.484 MB / 0.8698 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.011e-05/6.703, allocations: 120.8 kB / 3.279 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/6.703, allocations: 27.78 kB / 3.279 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/6.704, allocations: 322.4 kB / 3.28 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/6.704, allocations: 0 / 3.28 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/6.704, allocations: 7.984 kB / 3.28 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/6.704, allocations: 0 / 3.28 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/6.706, allocations: 0.875 MB / 3.281 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/6.706, allocations: 11.92 kB / 3.281 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/6.706, allocations: 52.16 kB / 3.281 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/6.706, allocations: 7.938 kB / 3.281 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/6.706, allocations: 7.938 kB / 3.281 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/6.706, allocations: 0 / 3.281 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/6.706, allocations: 7.984 kB / 3.281 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/6.707, allocations: 0.5882 MB / 3.281 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/6.707, allocations: 120.8 kB / 3.281 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/6.707, allocations: 7.984 kB / 3.281 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/6.708, allocations: 32.03 kB / 3.281 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/6.708, allocations: 19.98 kB / 3.281 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/6.708, allocations: 15.94 kB / 3.281 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.806e-05/6.708, allocations: 144.5 kB / 3.282 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.708, allocations: 0 / 3.282 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007455/6.709, allocations: 171.8 kB / 3.282 GB, free: 1.777 MB / 0.8698 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.001727/6.71, allocations: 1.171 MB / 3.283 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003201/6.711, allocations: 163.8 kB / 3.283 GB, free: 456 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/6.711, allocations: 4 kB / 3.283 GB, free: 452 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/6.711, allocations: 83.92 kB / 3.283 GB, free: 368 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/6.711, allocations: 91.56 kB / 3.283 GB, free: 280 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4856/7.197, allocations: 420.8 kB / 3.284 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/7.197, allocations: 0.7882 MB / 3.284 GB, free: 242 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003732/7.198, allocations: 56.02 kB / 3.284 GB, free: 242 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/7.198, allocations: 22.34 kB / 3.284 GB, free: 242 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/7.198, allocations: 1.969 kB / 3.284 GB, free: 242 MB / 0.8698 GB Notification: Performance of Templates: time 0.02232/7.22, allocations: 9.795 MB / 3.294 GB, free: 241.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_RelativeHumidity.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.RelativeHumidity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches