Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 11 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.001269/0.001269, allocations: 184 kB / 326.5 MB, free: 2.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.972/1.972, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001016/0.001016, allocations: 90.98 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 11.53 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.616/5.883, allocations: 2.183 GB / 3.083 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/5.883, allocations: 89.64 kB / 3.083 GB, free: 249.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.243/7.126, allocations: 398.9 MB / 3.473 GB, free: 223 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.322e-06/7.126, allocations: 0 / 3.473 GB, free: 223 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.287e-05/7.126, allocations: 22.22 kB / 3.473 GB, free: 223 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001582/7.128, allocations: 0.8929 MB / 3.474 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/7.128, allocations: 6.906 kB / 3.474 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/7.128, allocations: 66.97 kB / 3.474 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005892/7.129, allocations: 428.2 kB / 3.474 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/7.129, allocations: 45.95 kB / 3.474 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/7.129, allocations: 54.03 kB / 3.474 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/7.13, allocations: 0.6814 MB / 3.475 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/7.13, allocations: 7.656 kB / 3.475 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.289e-05/7.13, allocations: 26.22 kB / 3.475 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/7.13, allocations: 36.72 kB / 3.475 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/7.13, allocations: 363.6 kB / 3.475 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/7.132, allocations: 3.221 MB / 3.479 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/7.133, allocations: 221.9 kB / 3.479 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/7.133, allocations: 7.781 kB / 3.479 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/7.133, allocations: 49.72 kB / 3.479 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/7.133, allocations: 0 / 3.479 GB, free: 219.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0006208/7.133, allocations: 261.2 kB / 3.479 GB, free: 219.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/7.133, allocations: 297.3 kB / 3.479 GB, free: 219 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/7.134, allocations: 0.6079 MB / 3.48 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/7.134, allocations: 29.2 kB / 3.48 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/7.134, allocations: 265.2 kB / 3.48 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/7.134, allocations: 35.67 kB / 3.48 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/7.134, allocations: 0 / 3.48 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/7.134, allocations: 377.1 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/7.134, allocations: 37.33 kB / 3.481 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/7.135, allocations: 124.7 kB / 3.481 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/7.135, allocations: 56.28 kB / 3.481 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/7.135, allocations: 0 / 3.481 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003018/7.135, allocations: 196.8 kB / 3.481 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/7.135, allocations: 7.688 kB / 3.481 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/7.135, allocations: 0 / 3.481 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/7.135, allocations: 3.812 kB / 3.481 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/7.135, allocations: 28.12 kB / 3.481 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/7.135, allocations: 3.281 kB / 3.481 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/7.135, allocations: 67.91 kB / 3.481 GB, free: 218.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/7.135, allocations: 10.53 kB / 3.481 GB, free: 218.2 MB / 0.8855 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.0001718/7.136, allocations: 203.3 kB / 3.481 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/7.136, allocations: 65.31 kB / 3.481 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/7.136, allocations: 58.92 kB / 3.481 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/7.136, allocations: 2.375 kB / 3.481 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/7.136, allocations: 7.562 kB / 3.481 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/7.136, allocations: 3.75 kB / 3.481 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/7.137, allocations: 1.296 MB / 3.483 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/7.137, allocations: 3.875 kB / 3.483 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.243e-05/7.137, allocations: 28.89 kB / 3.483 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/7.137, allocations: 3.906 kB / 3.483 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/7.137, allocations: 3.5 kB / 3.483 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/7.137, allocations: 7.891 kB / 3.483 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/7.137, allocations: 7.781 kB / 3.483 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/7.138, allocations: 459.4 kB / 3.483 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/7.138, allocations: 145.7 kB / 3.483 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/7.138, allocations: 6.938 kB / 3.483 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/7.138, allocations: 22.98 kB / 3.483 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/7.138, allocations: 23.34 kB / 3.483 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/7.138, allocations: 3.906 kB / 3.483 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004559/7.139, allocations: 496.4 kB / 3.484 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/7.139, allocations: 0 / 3.484 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001101/7.14, allocations: 225 kB / 3.484 GB, free: 216.5 MB / 0.8855 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.00203/7.142, allocations: 1.446 MB / 3.485 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003094/7.142, allocations: 111.1 kB / 3.486 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/7.142, allocations: 0 / 3.486 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/7.142, allocations: 71.36 kB / 3.486 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/7.143, allocations: 273 kB / 3.486 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/7.145, allocations: 0.9627 MB / 3.487 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/7.145, allocations: 0.9162 MB / 3.488 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002402/7.145, allocations: 108.6 kB / 3.488 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/7.145, allocations: 34.62 kB / 3.488 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/7.145, allocations: 0 / 3.488 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.0374/7.183, allocations: 25.84 MB / 3.513 GB, free: 213.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches