Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 170.4 kB / 326.5 MB, free: 2.242 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.788/1.788, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009587/0.0009586, allocations: 99.48 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005049, allocations: 8.906 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2374, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.868/6.105, allocations: 2.179 GB / 3.079 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/6.106, allocations: 85.53 kB / 3.079 GB, free: 248.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3698/6.475, allocations: 202.1 MB / 3.277 GB, free: 144 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.583e-06/6.475, allocations: 0 / 3.277 GB, free: 144 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.758e-05/6.475, allocations: 4 kB / 3.277 GB, free: 144 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001143/6.477, allocations: 0.5918 MB / 3.277 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/6.477, allocations: 8.031 kB / 3.277 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/6.477, allocations: 27.67 kB / 3.277 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/6.477, allocations: 282.2 kB / 3.277 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/6.477, allocations: 19.78 kB / 3.277 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/6.477, allocations: 24 kB / 3.277 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/6.478, allocations: 262.2 kB / 3.278 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/6.478, allocations: 0 / 3.278 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/6.478, allocations: 8 kB / 3.278 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/6.478, allocations: 4 kB / 3.278 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/6.478, allocations: 156.3 kB / 3.278 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/6.479, allocations: 1.357 MB / 3.279 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/6.479, allocations: 183.5 kB / 3.279 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/6.479, allocations: 109.1 kB / 3.279 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/6.479, allocations: 46.67 kB / 3.28 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/6.479, allocations: 0 / 3.28 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0005655/6.48, allocations: 209.5 kB / 3.28 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/6.48, allocations: 183.9 kB / 3.28 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/6.48, allocations: 258 kB / 3.28 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/6.48, allocations: 29.7 kB / 3.28 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/6.48, allocations: 152.1 kB / 3.28 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/6.48, allocations: 43.44 kB / 3.28 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/6.48, allocations: 0 / 3.28 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.427e-05/6.48, allocations: 334.8 kB / 3.281 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/6.481, allocations: 43.97 kB / 3.281 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/6.481, allocations: 127.2 kB / 3.281 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/6.481, allocations: 59.91 kB / 3.281 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/6.481, allocations: 0 / 3.281 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002949/6.481, allocations: 193.2 kB / 3.281 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/6.481, allocations: 11.95 kB / 3.281 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/6.481, allocations: 0 / 3.281 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/6.481, allocations: 4.375 kB / 3.281 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/6.481, allocations: 39.92 kB / 3.281 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/6.481, allocations: 4.172 kB / 3.281 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/6.481, allocations: 43.67 kB / 3.281 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/6.482, allocations: 12 kB / 3.281 GB, free: 138.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001034/6.482, allocations: 141.8 kB / 3.281 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/6.482, allocations: 19.81 kB / 3.281 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/6.482, allocations: 142.8 kB / 3.281 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/6.482, allocations: 0 / 3.281 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/6.482, allocations: 4 kB / 3.281 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/6.482, allocations: 3.984 kB / 3.281 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/6.483, allocations: 0.7651 MB / 3.282 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/6.483, allocations: 0 / 3.282 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/6.483, allocations: 27.98 kB / 3.282 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/6.483, allocations: 4 kB / 3.282 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/6.483, allocations: 0 / 3.282 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/6.483, allocations: 7.938 kB / 3.282 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/6.483, allocations: 4.156 kB / 3.282 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/6.483, allocations: 400 kB / 3.283 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/6.483, allocations: 112.8 kB / 3.283 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/6.483, allocations: 4 kB / 3.283 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/6.484, allocations: 15.98 kB / 3.283 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/6.484, allocations: 4.094 kB / 3.283 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/6.484, allocations: 11.92 kB / 3.283 GB, free: 137 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001412/6.484, allocations: 206 kB / 3.283 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/6.484, allocations: 0 / 3.283 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006918/6.485, allocations: 151.9 kB / 3.283 GB, free: 136.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.001228/6.486, allocations: 0.988 MB / 3.284 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000313/6.486, allocations: 119.8 kB / 3.284 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/6.486, allocations: 0 / 3.284 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/6.486, allocations: 68.64 kB / 3.284 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/6.487, allocations: 126.1 kB / 3.284 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/6.488, allocations: 0.542 MB / 3.285 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/6.488, allocations: 0.756 MB / 3.286 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001272/6.488, allocations: 54.23 kB / 3.286 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/6.488, allocations: 23.38 kB / 3.286 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/6.488, allocations: 0 / 3.286 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.01895/6.507, allocations: 16.03 MB / 3.301 GB, free: 117.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches