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.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.93 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.001085/0.001085, allocations: 172.9 kB / 316.3 MB, free: 3.246 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.73/1.73, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009565/0.0009567, allocations: 85.53 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.181e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2334, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.113/6.346, allocations: 2.179 GB / 3.064 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/6.346, allocations: 82.95 kB / 3.064 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8716/7.218, allocations: 199 MB / 3.259 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/7.218, allocations: 0 / 3.259 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.377e-05/7.218, allocations: 10.23 kB / 3.259 GB, free: 252.8 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001005/7.219, allocations: 0.5558 MB / 3.259 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/7.219, allocations: 9.938 kB / 3.259 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.419e-05/7.219, allocations: 26.95 kB / 3.259 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/7.22, allocations: 285 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/7.22, allocations: 8.016 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/7.22, allocations: 12.41 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002403/7.22, allocations: 95.16 kB / 3.26 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/7.22, allocations: 214.6 kB / 3.26 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/7.22, allocations: 4.875 kB / 3.26 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/7.22, allocations: 4 kB / 3.26 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/7.22, allocations: 5.359 kB / 3.26 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/7.222, allocations: 1.284 MB / 3.261 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/7.222, allocations: 152.5 kB / 3.261 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/7.222, allocations: 78.56 kB / 3.262 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/7.222, allocations: 117.1 kB / 3.262 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/7.222, allocations: 41.02 kB / 3.262 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/7.222, allocations: 2.5 kB / 3.262 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004634/7.223, allocations: 136.9 kB / 3.262 GB, free: 250.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/7.223, allocations: 185 kB / 3.262 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/7.223, allocations: 168.5 kB / 3.262 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/7.223, allocations: 27.61 kB / 3.262 GB, free: 250.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/7.223, allocations: 162.4 kB / 3.262 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/7.223, allocations: 32.2 kB / 3.262 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/7.223, allocations: 0 / 3.262 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/7.223, allocations: 326.9 kB / 3.263 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/7.223, allocations: 24.52 kB / 3.263 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/7.223, allocations: 104.9 kB / 3.263 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/7.224, allocations: 63.05 kB / 3.263 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/7.224, allocations: 1.375 kB / 3.263 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003117/7.224, allocations: 149.4 kB / 3.263 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/7.224, allocations: 6.266 kB / 3.263 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/7.224, allocations: 4.281 kB / 3.263 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/7.224, allocations: 11.28 kB / 3.263 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/7.224, allocations: 38.7 kB / 3.263 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/7.224, allocations: 2.906 kB / 3.263 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/7.224, allocations: 26.11 kB / 3.263 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/7.224, allocations: 8.469 kB / 3.263 GB, free: 249.8 MB / 0.8698 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 () * 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 8.221e-05/7.225, allocations: 112.4 kB / 3.263 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/7.225, allocations: 22.97 kB / 3.263 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/7.225, allocations: 104.2 kB / 3.263 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/7.225, allocations: 3.25 kB / 3.263 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/7.225, allocations: 5.422 kB / 3.263 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/7.225, allocations: 3.016 kB / 3.263 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/7.226, allocations: 0.7211 MB / 3.264 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/7.226, allocations: 1.656 kB / 3.264 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/7.226, allocations: 32.58 kB / 3.264 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/7.226, allocations: 8.234 kB / 3.264 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/7.226, allocations: 4.344 kB / 3.264 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/7.226, allocations: 3.938 kB / 3.264 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/7.226, allocations: 1.969 kB / 3.264 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004145/7.226, allocations: 353.7 kB / 3.264 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/7.226, allocations: 104.2 kB / 3.265 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/7.226, allocations: 5.375 kB / 3.265 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/7.227, allocations: 14.73 kB / 3.265 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/7.227, allocations: 12.33 kB / 3.265 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/7.227, allocations: 6.391 kB / 3.265 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.963e-05/7.227, allocations: 137.6 kB / 3.265 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.227, allocations: 0 / 3.265 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006071/7.227, allocations: 125.7 kB / 3.265 GB, free: 248.6 MB / 0.8698 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 () * 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.001868/7.229, allocations: 1.114 MB / 3.266 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002166/7.229, allocations: 87.03 kB / 3.266 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/7.229, allocations: 1.188 kB / 3.266 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/7.23, allocations: 44.03 kB / 3.266 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/7.23, allocations: 57 kB / 3.266 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/7.231, allocations: 330 kB / 3.266 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/7.231, allocations: 0.7605 MB / 3.267 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001279/7.231, allocations: 32.42 kB / 3.267 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/7.231, allocations: 19.72 kB / 3.267 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/7.231, allocations: 3.562 kB / 3.267 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.01875/7.25, allocations: 8.031 MB / 3.275 GB, free: 247.4 MB / 0.8698 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