Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001122/0.001123, allocations: 183.9 kB / 0.4902 GB, free: 2.234 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.706/1.706, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009798/0.0009804, allocations: 98 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004554, allocations: 6.875 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4612, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.617/6.079, allocations: 1.867 GB / 3.096 GB, free: 86.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/6.079, allocations: 90.39 kB / 3.096 GB, free: 86.13 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.261/7.34, allocations: 210.6 MB / 3.302 GB, free: 354.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.535e-06/7.34, allocations: 0 / 3.302 GB, free: 354.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.441e-05/7.34, allocations: 8 kB / 3.302 GB, free: 354.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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0014/7.341, allocations: 0.5958 MB / 3.302 GB, free: 354 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/7.341, allocations: 8.031 kB / 3.302 GB, free: 354 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/7.342, allocations: 32.83 kB / 3.303 GB, free: 353.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/7.342, allocations: 276.7 kB / 3.303 GB, free: 353.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/7.342, allocations: 19.94 kB / 3.303 GB, free: 353.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/7.342, allocations: 19.95 kB / 3.303 GB, free: 353.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/7.343, allocations: 255 kB / 3.303 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/7.343, allocations: 0 / 3.303 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/7.343, allocations: 15.98 kB / 3.303 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/7.343, allocations: 8 kB / 3.303 GB, free: 353.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/7.343, allocations: 152.3 kB / 3.303 GB, free: 353.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/7.344, allocations: 1.364 MB / 3.305 GB, free: 351.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/7.345, allocations: 183.7 kB / 3.305 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/7.345, allocations: 113.1 kB / 3.305 GB, free: 351.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/7.345, allocations: 46.39 kB / 3.305 GB, free: 351.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/7.345, allocations: 4 kB / 3.305 GB, free: 351.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0006129/7.346, allocations: 209.8 kB / 3.305 GB, free: 351 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/7.346, allocations: 183.9 kB / 3.305 GB, free: 350.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/7.346, allocations: 262.2 kB / 3.306 GB, free: 350.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/7.346, allocations: 29.7 kB / 3.306 GB, free: 350.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/7.346, allocations: 148.2 kB / 3.306 GB, free: 350.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/7.346, allocations: 31.47 kB / 3.306 GB, free: 350.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/7.346, allocations: 4 kB / 3.306 GB, free: 350.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/7.346, allocations: 342.8 kB / 3.306 GB, free: 350 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/7.346, allocations: 51.89 kB / 3.306 GB, free: 349.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/7.346, allocations: 126.4 kB / 3.306 GB, free: 349.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/7.347, allocations: 63.91 kB / 3.306 GB, free: 349.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/7.347, allocations: 0 / 3.306 GB, free: 349.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003501/7.347, allocations: 189.6 kB / 3.306 GB, free: 349.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/7.347, allocations: 11.94 kB / 3.306 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/7.347, allocations: 0 / 3.306 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/7.347, allocations: 4 kB / 3.306 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/7.347, allocations: 40.03 kB / 3.307 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/7.347, allocations: 0 / 3.307 GB, free: 349.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/7.347, allocations: 35.98 kB / 3.307 GB, free: 349.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/7.347, allocations: 8 kB / 3.307 GB, free: 349.4 MB / 1.167 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.0001354/7.348, allocations: 157.6 kB / 3.307 GB, free: 349.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/7.348, allocations: 23.72 kB / 3.307 GB, free: 349.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/7.348, allocations: 138.9 kB / 3.307 GB, free: 349.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/7.348, allocations: 0 / 3.307 GB, free: 349.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/7.348, allocations: 7.938 kB / 3.307 GB, free: 349.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/7.348, allocations: 0 / 3.307 GB, free: 349.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/7.349, allocations: 0.7652 MB / 3.308 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/7.349, allocations: 0 / 3.308 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/7.349, allocations: 27.92 kB / 3.308 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/7.349, allocations: 4 kB / 3.308 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/7.349, allocations: 8 kB / 3.308 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/7.349, allocations: 3.984 kB / 3.308 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/7.349, allocations: 7.953 kB / 3.308 GB, free: 348.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/7.349, allocations: 396 kB / 3.308 GB, free: 347.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/7.35, allocations: 112.8 kB / 3.308 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/7.35, allocations: 0 / 3.308 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/7.35, allocations: 20.05 kB / 3.308 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/7.35, allocations: 15.94 kB / 3.308 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/7.35, allocations: 8 kB / 3.308 GB, free: 347.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001666/7.35, allocations: 205.9 kB / 3.308 GB, free: 347.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/7.35, allocations: 0 / 3.308 GB, free: 347.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007359/7.351, allocations: 147.9 kB / 3.309 GB, free: 347.2 MB / 1.167 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.001736/7.353, allocations: 0.9877 MB / 3.309 GB, free: 346.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003662/7.353, allocations: 123.8 kB / 3.31 GB, free: 346.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/7.353, allocations: 3.938 kB / 3.31 GB, free: 346.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/7.353, allocations: 64.66 kB / 3.31 GB, free: 346.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006747/7.354, allocations: 129.4 kB / 3.31 GB, free: 345.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/7.355, allocations: 0.5527 MB / 3.31 GB, free: 345.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/7.355, allocations: 0.7638 MB / 3.311 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000179/7.355, allocations: 46.27 kB / 3.311 GB, free: 344.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/7.355, allocations: 23.42 kB / 3.311 GB, free: 344.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.4e-07/7.355, allocations: 0 / 3.311 GB, free: 344.5 MB / 1.167 GB Notification: Performance of Templates: time 0.02213/7.377, allocations: 16.13 MB / 3.327 GB, free: 328.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches