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.554/1.554, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001121/0.001122, allocations: 178.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009099/0.0009099, allocations: 78.56 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.515e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2614, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.068/6.33, allocations: 2.179 GB / 3.071 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/6.33, allocations: 90.5 kB / 3.071 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8908/7.221, allocations: 201.9 MB / 3.268 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.733e-06/7.221, allocations: 0.75 kB / 3.268 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.805e-05/7.221, allocations: 7 kB / 3.268 GB, free: 249.2 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.0009573/7.222, allocations: 0.5635 MB / 3.268 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/7.222, allocations: 9.062 kB / 3.268 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/7.222, allocations: 28.25 kB / 3.268 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/7.223, allocations: 283.1 kB / 3.269 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/7.223, allocations: 19.48 kB / 3.269 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/7.223, allocations: 16.22 kB / 3.269 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/7.223, allocations: 240.2 kB / 3.269 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/7.223, allocations: 8.594 kB / 3.269 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/7.223, allocations: 9.438 kB / 3.269 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/7.223, allocations: 4.125 kB / 3.269 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/7.223, allocations: 112.6 kB / 3.269 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/7.224, allocations: 1.36 MB / 3.27 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/7.225, allocations: 158.7 kB / 3.271 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/7.225, allocations: 80.95 kB / 3.271 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/7.225, allocations: 118.7 kB / 3.271 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/7.225, allocations: 48.08 kB / 3.271 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/7.225, allocations: 0 / 3.271 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003482/7.225, allocations: 133.1 kB / 3.271 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/7.225, allocations: 184.1 kB / 3.271 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/7.226, allocations: 251.3 kB / 3.271 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/7.226, allocations: 30.77 kB / 3.271 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/7.226, allocations: 152 kB / 3.272 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/7.226, allocations: 33.45 kB / 3.272 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/7.226, allocations: 3.25 kB / 3.272 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/7.226, allocations: 334.2 kB / 3.272 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/7.226, allocations: 27.56 kB / 3.272 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/7.226, allocations: 105.3 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/7.226, allocations: 44.7 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/7.226, allocations: 5.781 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002292/7.226, allocations: 155.9 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/7.226, allocations: 7.844 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/7.226, allocations: 6.484 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/7.226, allocations: 3.969 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/7.227, allocations: 38.27 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/7.227, allocations: 3.359 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/7.227, allocations: 40.33 kB / 3.272 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/7.227, allocations: 8.766 kB / 3.272 GB, free: 246.2 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 6.941e-05/7.227, allocations: 108.5 kB / 3.272 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/7.227, allocations: 35.11 kB / 3.273 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/7.227, allocations: 96.62 kB / 3.273 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/7.227, allocations: 6.609 kB / 3.273 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.227, allocations: 2.625 kB / 3.273 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/7.227, allocations: 4.312 kB / 3.273 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/7.228, allocations: 0.7628 MB / 3.273 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/7.228, allocations: 2.219 kB / 3.273 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/7.228, allocations: 24.98 kB / 3.273 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/7.228, allocations: 3 kB / 3.273 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/7.228, allocations: 9.953 kB / 3.273 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/7.228, allocations: 8.219 kB / 3.273 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/7.228, allocations: 1.125 kB / 3.273 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/7.229, allocations: 343.5 kB / 3.274 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/7.229, allocations: 108 kB / 3.274 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/7.229, allocations: 14.11 kB / 3.274 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/7.229, allocations: 14.05 kB / 3.274 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/7.229, allocations: 8.891 kB / 3.274 GB, free: 245 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/7.229, allocations: 7.656 kB / 3.274 GB, free: 245 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002323/7.229, allocations: 201.9 kB / 3.274 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/7.229, allocations: 0 / 3.274 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007699/7.23, allocations: 142.5 kB / 3.274 GB, free: 244.9 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.001942/7.232, allocations: 0.98 MB / 3.275 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002685/7.232, allocations: 89.64 kB / 3.275 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/7.232, allocations: 3.938 kB / 3.275 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/7.232, allocations: 44.41 kB / 3.275 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/7.233, allocations: 128.2 kB / 3.275 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/7.234, allocations: 369.5 kB / 3.276 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/7.234, allocations: 0.7564 MB / 3.277 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001826/7.235, allocations: 54.83 kB / 3.277 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/7.235, allocations: 21.34 kB / 3.277 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/7.235, allocations: 0 / 3.277 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02736/7.262, allocations: 18.76 MB / 3.295 GB, free: 243.2 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