Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 393.5 MB / 408.4 MB, free: 11.11 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.001887/0.001887, allocations: 187.9 kB / 0.4902 GB, free: 2.293 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.726/1.726, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001012/0.001012, allocations: 100.2 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 10.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.539/4.87, allocations: 1.871 GB / 3.1 GB, free: 112.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/4.871, allocations: 88.61 kB / 3.1 GB, free: 112.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.546/6.417, allocations: 415.8 MB / 3.506 GB, free: 159.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.525e-06/6.417, allocations: 0 / 3.506 GB, free: 159.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001037/6.417, allocations: 19.98 kB / 3.506 GB, free: 159.8 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002712/6.419, allocations: 0.8965 MB / 3.507 GB, free: 158.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/6.42, allocations: 8.031 kB / 3.507 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/6.42, allocations: 71.2 kB / 3.507 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/6.421, allocations: 427.7 kB / 3.508 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/6.421, allocations: 41.31 kB / 3.508 GB, free: 158.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/6.421, allocations: 55.98 kB / 3.508 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/6.422, allocations: 0.6871 MB / 3.508 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/6.422, allocations: 3.938 kB / 3.508 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/6.422, allocations: 27.92 kB / 3.508 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/6.422, allocations: 31.94 kB / 3.508 GB, free: 157.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/6.423, allocations: 371.5 kB / 3.509 GB, free: 157 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/6.426, allocations: 3.223 MB / 3.512 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/6.426, allocations: 222.1 kB / 3.512 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/6.426, allocations: 4.062 kB / 3.512 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/6.426, allocations: 46.5 kB / 3.512 GB, free: 153.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/6.426, allocations: 0 / 3.512 GB, free: 153.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.000713/6.427, allocations: 261.5 kB / 3.512 GB, free: 153 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/6.427, allocations: 295.1 kB / 3.513 GB, free: 152.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/6.427, allocations: 0.6088 MB / 3.513 GB, free: 152 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/6.427, allocations: 33.7 kB / 3.513 GB, free: 152 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/6.428, allocations: 264.2 kB / 3.514 GB, free: 151.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/6.428, allocations: 35.45 kB / 3.514 GB, free: 151.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/6.428, allocations: 0 / 3.514 GB, free: 151.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/6.428, allocations: 370.7 kB / 3.514 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/6.428, allocations: 43.95 kB / 3.514 GB, free: 151.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/6.428, allocations: 112.5 kB / 3.514 GB, free: 151.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/6.428, allocations: 59.89 kB / 3.514 GB, free: 151.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/6.428, allocations: 0 / 3.514 GB, free: 151.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003617/6.429, allocations: 200.8 kB / 3.514 GB, free: 150.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/6.429, allocations: 4 kB / 3.514 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/6.429, allocations: 0 / 3.514 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/6.429, allocations: 4.188 kB / 3.514 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/6.429, allocations: 27.98 kB / 3.514 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/6.429, allocations: 0 / 3.514 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/6.429, allocations: 71.19 kB / 3.514 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/6.429, allocations: 16 kB / 3.515 GB, free: 150.8 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002005/6.429, allocations: 209.7 kB / 3.515 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/6.429, allocations: 59.33 kB / 3.515 GB, free: 150.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.234e-05/6.43, allocations: 60.33 kB / 3.515 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/6.43, allocations: 4 kB / 3.515 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/6.43, allocations: 4.219 kB / 3.515 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/6.43, allocations: 3.984 kB / 3.515 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/6.431, allocations: 1.301 MB / 3.516 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/6.431, allocations: 0 / 3.516 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.543e-05/6.431, allocations: 28.27 kB / 3.516 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/6.431, allocations: 7.938 kB / 3.516 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/6.431, allocations: 8 kB / 3.516 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/6.431, allocations: 7.953 kB / 3.516 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/6.431, allocations: 7.938 kB / 3.516 GB, free: 149 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/6.431, allocations: 449.8 kB / 3.517 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/6.431, allocations: 148.4 kB / 3.517 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/6.431, allocations: 4 kB / 3.517 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/6.432, allocations: 15.98 kB / 3.517 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/6.432, allocations: 23.88 kB / 3.517 GB, free: 148.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/6.432, allocations: 8 kB / 3.517 GB, free: 148.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004338/6.432, allocations: 499 kB / 3.517 GB, free: 147.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.432, allocations: 0 / 3.517 GB, free: 147.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009248/6.433, allocations: 223.9 kB / 3.517 GB, free: 147.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 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.001826/6.435, allocations: 1.447 MB / 3.519 GB, free: 146 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003148/6.435, allocations: 111.8 kB / 3.519 GB, free: 145.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/6.435, allocations: 4 kB / 3.519 GB, free: 145.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/6.435, allocations: 64.78 kB / 3.519 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/6.437, allocations: 268.3 kB / 3.519 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/6.438, allocations: 0.9669 MB / 3.52 GB, free: 144.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/6.438, allocations: 0.9091 MB / 3.521 GB, free: 143.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002314/6.438, allocations: 116.5 kB / 3.521 GB, free: 143.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/6.438, allocations: 31.44 kB / 3.521 GB, free: 143.5 MB / 1.167 GB Notification: Performance of SimCode: time 3.3e-07/6.438, allocations: 0 / 3.521 GB, free: 143.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03315/6.471, allocations: 25.86 MB / 3.547 GB, free: 117.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches