Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.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.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.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.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001445/0.001445, allocations: 178.1 kB / 498.1 MB, free: 5.758 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.655/1.655, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.001221/0.001221, allocations: 96.38 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 17.27 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3642, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.887/5.251, allocations: 1.874 GB / 3.097 GB, free: 142.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/5.251, allocations: 87.95 kB / 3.097 GB, free: 142 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.503/7.755, allocations: 0.6094 GB / 3.706 GB, free: 279.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.305e-06/7.755, allocations: 1.031 kB / 3.706 GB, free: 279.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.682e-05/7.755, allocations: 23.94 kB / 3.706 GB, free: 279.1 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003106/7.758, allocations: 1.217 MB / 3.708 GB, free: 278.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/7.758, allocations: 9.219 kB / 3.708 GB, free: 278.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/7.76, allocations: 283.2 kB / 3.708 GB, free: 278.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/7.761, allocations: 0.5716 MB / 3.708 GB, free: 278.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/7.761, allocations: 61.34 kB / 3.708 GB, free: 278.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/7.762, allocations: 71.06 kB / 3.708 GB, free: 278.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/7.763, allocations: 0.8779 MB / 3.709 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/7.763, allocations: 0 / 3.709 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/7.763, allocations: 30.52 kB / 3.709 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/7.763, allocations: 38.83 kB / 3.709 GB, free: 278.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/7.764, allocations: 0.554 MB / 3.71 GB, free: 278.2 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/7.767, allocations: 3.487 MB / 3.713 GB, free: 276.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/7.768, allocations: 207 kB / 3.714 GB, free: 276 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/7.768, allocations: 494.1 kB / 3.714 GB, free: 275.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/7.768, allocations: 39.94 kB / 3.714 GB, free: 275.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/7.768, allocations: 0 / 3.714 GB, free: 275.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.001246/7.769, allocations: 451 kB / 3.714 GB, free: 275.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/7.77, allocations: 105.8 kB / 3.715 GB, free: 275.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/7.77, allocations: 0.7656 MB / 3.715 GB, free: 275.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/7.771, allocations: 31.05 kB / 3.715 GB, free: 275.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/7.771, allocations: 391.8 kB / 3.716 GB, free: 275 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/7.771, allocations: 71.5 kB / 3.716 GB, free: 275 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/7.771, allocations: 7.719 kB / 3.716 GB, free: 275 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/7.771, allocations: 317.5 kB / 3.716 GB, free: 274.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/7.771, allocations: 109.1 kB / 3.716 GB, free: 274.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/7.771, allocations: 234.2 kB / 3.716 GB, free: 274.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/7.772, allocations: 127.9 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/7.772, allocations: 4.562 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006092/7.772, allocations: 408.4 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/7.772, allocations: 12.28 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/7.772, allocations: 5.047 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/7.772, allocations: 10.31 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/7.773, allocations: 59.44 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/7.773, allocations: 3.906 kB / 3.717 GB, free: 274.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/7.773, allocations: 99.95 kB / 3.717 GB, free: 274.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/7.773, allocations: 17.81 kB / 3.717 GB, free: 274.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002741/7.774, allocations: 234 kB / 3.717 GB, free: 274.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/7.774, allocations: 89.58 kB / 3.717 GB, free: 274.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005596/7.774, allocations: 313.3 kB / 3.718 GB, free: 274.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/7.774, allocations: 6.688 kB / 3.718 GB, free: 274.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/7.774, allocations: 3.953 kB / 3.718 GB, free: 274.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/7.774, allocations: 7.609 kB / 3.718 GB, free: 274.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/7.776, allocations: 1.359 MB / 3.719 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/7.776, allocations: 3.844 kB / 3.719 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/7.776, allocations: 47.14 kB / 3.719 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/7.776, allocations: 6.688 kB / 3.719 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/7.777, allocations: 15.66 kB / 3.719 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/7.777, allocations: 6.562 kB / 3.719 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/7.777, allocations: 6.906 kB / 3.719 GB, free: 273.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/7.777, allocations: 0.7156 MB / 3.72 GB, free: 273.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/7.777, allocations: 189 kB / 3.72 GB, free: 272.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/7.778, allocations: 10.95 kB / 3.72 GB, free: 272.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/7.778, allocations: 37.05 kB / 3.72 GB, free: 272.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/7.778, allocations: 25.09 kB / 3.72 GB, free: 272.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/7.778, allocations: 18.92 kB / 3.72 GB, free: 272.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006788/7.779, allocations: 0.6034 MB / 3.721 GB, free: 272.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/7.779, allocations: 0 / 3.721 GB, free: 272.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001337/7.78, allocations: 346.9 kB / 3.721 GB, free: 272.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.002868/7.783, allocations: 1.983 MB / 3.723 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006852/7.784, allocations: 264.9 kB / 3.723 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/7.784, allocations: 0 / 3.723 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/7.784, allocations: 132.2 kB / 3.723 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/7.786, allocations: 416.3 kB / 3.724 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/7.788, allocations: 1.421 MB / 3.725 GB, free: 271.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/7.788, allocations: 1.007 MB / 3.726 GB, free: 270.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005978/7.789, allocations: 157.3 kB / 3.726 GB, free: 270.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/7.789, allocations: 50.59 kB / 3.726 GB, free: 270.7 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/7.789, allocations: 0 / 3.726 GB, free: 270.7 MB / 1.167 GB Notification: Performance of Templates: time 0.0487/7.838, allocations: 35.89 MB / 3.761 GB, free: 270.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches