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.389/2.389, allocations: 390.5 MB / 398 MB, free: 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.001205/0.001205, allocations: 183.8 kB / 491.2 MB, free: 1.629 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.676/1.676, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.0009345/0.0009345, allocations: 94.41 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.664e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.089/6.418, allocations: 1.87 GB / 3.082 GB, free: 435.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/6.418, allocations: 86.98 kB / 3.083 GB, free: 435.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7763/7.194, allocations: 410 MB / 3.483 GB, free: 42.44 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.854e-06/7.194, allocations: 8 kB / 3.483 GB, free: 42.43 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.527e-05/7.195, allocations: 20 kB / 3.483 GB, free: 42.41 MB / 1.151 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.001599/7.196, allocations: 0.8461 MB / 3.484 GB, free: 41.52 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/7.196, allocations: 8.031 kB / 3.484 GB, free: 41.51 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/7.196, allocations: 67.25 kB / 3.484 GB, free: 41.44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/7.197, allocations: 432.5 kB / 3.484 GB, free: 40.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/7.197, allocations: 16 kB / 3.484 GB, free: 40.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/7.197, allocations: 36 kB / 3.484 GB, free: 40.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004339/7.197, allocations: 270.5 kB / 3.485 GB, free: 40.66 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/7.198, allocations: 0.589 MB / 3.485 GB, free: 39.99 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/7.198, allocations: 3.938 kB / 3.485 GB, free: 39.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/7.198, allocations: 4 kB / 3.485 GB, free: 39.98 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/7.198, allocations: 27.98 kB / 3.485 GB, free: 39.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/7.2, allocations: 2.991 MB / 3.488 GB, free: 36.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/7.2, allocations: 198.1 kB / 3.488 GB, free: 36.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/7.2, allocations: 108.7 kB / 3.488 GB, free: 36.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/7.2, allocations: 7.938 kB / 3.488 GB, free: 36.41 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/7.2, allocations: 46.48 kB / 3.489 GB, free: 36.35 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 2.244e-06/7.2, allocations: 4 kB / 3.489 GB, free: 36.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003631/7.201, allocations: 137.1 kB / 3.489 GB, free: 36.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/7.201, allocations: 291 kB / 3.489 GB, free: 35.86 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/7.201, allocations: 221.2 kB / 3.489 GB, free: 35.64 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/7.201, allocations: 25.7 kB / 3.489 GB, free: 35.61 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/7.201, allocations: 299.6 kB / 3.489 GB, free: 35.31 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/7.201, allocations: 35.45 kB / 3.49 GB, free: 35.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/7.201, allocations: 3.938 kB / 3.49 GB, free: 35.27 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/7.201, allocations: 338.8 kB / 3.49 GB, free: 34.93 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/7.201, allocations: 19.98 kB / 3.49 GB, free: 34.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/7.201, allocations: 100.5 kB / 3.49 GB, free: 34.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.641e-05/7.201, allocations: 27.98 kB / 3.49 GB, free: 34.76 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/7.201, allocations: 11.98 kB / 3.49 GB, free: 34.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001368/7.201, allocations: 117.3 kB / 3.49 GB, free: 34.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/7.201, allocations: 5.406 kB / 3.49 GB, free: 34.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/7.201, allocations: 4 kB / 3.49 GB, free: 34.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/7.202, allocations: 3.984 kB / 3.49 GB, free: 34.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/7.202, allocations: 27.94 kB / 3.49 GB, free: 34.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/7.202, allocations: 192 / 3.49 GB, free: 34.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/7.202, allocations: 31.83 kB / 3.49 GB, free: 34.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/7.202, allocations: 19.92 kB / 3.49 GB, free: 34.54 MB / 1.151 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 () * 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 6.377e-05/7.202, allocations: 105 kB / 3.49 GB, free: 34.43 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/7.202, allocations: 23.72 kB / 3.49 GB, free: 34.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/7.202, allocations: 33.36 kB / 3.49 GB, free: 34.37 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/7.202, allocations: 4 kB / 3.49 GB, free: 34.36 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/7.202, allocations: 8.172 kB / 3.49 GB, free: 34.36 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/7.202, allocations: 0 / 3.49 GB, free: 34.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/7.203, allocations: 1.223 MB / 3.492 GB, free: 33.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/7.203, allocations: 4 kB / 3.492 GB, free: 33.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.875e-05/7.203, allocations: 23.98 kB / 3.492 GB, free: 33.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/7.203, allocations: 7.938 kB / 3.492 GB, free: 33.02 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/7.203, allocations: 7.984 kB / 3.492 GB, free: 33.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/7.203, allocations: 4.281 kB / 3.492 GB, free: 33.01 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/7.203, allocations: 8 kB / 3.492 GB, free: 33 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/7.204, allocations: 370.3 kB / 3.492 GB, free: 32.54 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/7.204, allocations: 108.8 kB / 3.492 GB, free: 32.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/7.204, allocations: 4.375 kB / 3.492 GB, free: 32.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/7.204, allocations: 15.98 kB / 3.492 GB, free: 32.39 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/7.204, allocations: 23.88 kB / 3.492 GB, free: 32.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/7.204, allocations: 8 kB / 3.492 GB, free: 32.36 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001203/7.204, allocations: 180.5 kB / 3.492 GB, free: 32.18 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.204, allocations: 0 / 3.492 GB, free: 32.18 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007516/7.205, allocations: 211.2 kB / 3.492 GB, free: 31.98 MB / 1.151 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 () * 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.002174/7.207, allocations: 1.64 MB / 3.494 GB, free: 30.27 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001639/7.207, allocations: 68.22 kB / 3.494 GB, free: 30.21 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/7.207, allocations: 4.062 kB / 3.494 GB, free: 30.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/7.207, allocations: 43.86 kB / 3.494 GB, free: 30.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/7.208, allocations: 98.11 kB / 3.494 GB, free: 30.07 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/7.209, allocations: 0.574 MB / 3.495 GB, free: 29.44 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/7.209, allocations: 0.9194 MB / 3.496 GB, free: 28.49 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001291/7.209, allocations: 58 kB / 3.496 GB, free: 28.44 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/7.209, allocations: 19.44 kB / 3.496 GB, free: 28.42 MB / 1.151 GB Notification: Performance of SimCode: time 8.31e-07/7.209, allocations: 3.938 kB / 3.496 GB, free: 28.41 MB / 1.151 GB Notification: Performance of Templates: time 0.01772/7.227, allocations: 11.71 MB / 3.507 GB, free: 16.75 MB / 1.151 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