Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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_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_latest_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_latest_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001163/0.001163, allocations: 186.6 kB / 0.4902 GB, free: 2.227 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.658/1.658, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001101/0.001101, allocations: 103.9 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004075, allocations: 11.12 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.455/4.789, allocations: 1.875 GB / 3.104 GB, free: 107.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/4.789, allocations: 87.95 kB / 3.104 GB, free: 107.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.643/7.432, allocations: 0.6094 GB / 3.713 GB, free: 278 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.503e-06/7.432, allocations: 2.875 kB / 3.713 GB, free: 278 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.436e-05/7.432, allocations: 26.39 kB / 3.713 GB, free: 278 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.002707/7.435, allocations: 1.21 MB / 3.715 GB, free: 277.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/7.435, allocations: 7.875 kB / 3.715 GB, free: 277.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/7.437, allocations: 291 kB / 3.715 GB, free: 277.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/7.438, allocations: 0.5688 MB / 3.715 GB, free: 277.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/7.438, allocations: 57.52 kB / 3.716 GB, free: 277.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.041e-05/7.438, allocations: 74.16 kB / 3.716 GB, free: 277.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/7.44, allocations: 0.8666 MB / 3.716 GB, free: 277 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/7.44, allocations: 5 kB / 3.716 GB, free: 277 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.67e-05/7.44, allocations: 34.31 kB / 3.717 GB, free: 277 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.609e-05/7.44, allocations: 42.98 kB / 3.717 GB, free: 277 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/7.441, allocations: 0.559 MB / 3.717 GB, free: 277 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.004026/7.445, allocations: 3.479 MB / 3.72 GB, free: 274.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/7.446, allocations: 215 kB / 3.721 GB, free: 274.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006572/7.446, allocations: 483.3 kB / 3.721 GB, free: 274.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/7.446, allocations: 41.38 kB / 3.721 GB, free: 274.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.504e-06/7.446, allocations: 0 / 3.721 GB, free: 274.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.001188/7.448, allocations: 449 kB / 3.722 GB, free: 274.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/7.448, allocations: 110 kB / 3.722 GB, free: 274.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/7.449, allocations: 0.7615 MB / 3.722 GB, free: 274 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/7.449, allocations: 32.77 kB / 3.723 GB, free: 274 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/7.449, allocations: 387.6 kB / 3.723 GB, free: 273.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/7.449, allocations: 69.66 kB / 3.723 GB, free: 273.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/7.449, allocations: 6.906 kB / 3.723 GB, free: 273.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/7.449, allocations: 323.6 kB / 3.723 GB, free: 273.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/7.449, allocations: 104.6 kB / 3.723 GB, free: 273.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/7.449, allocations: 227.7 kB / 3.724 GB, free: 273.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/7.45, allocations: 136.4 kB / 3.724 GB, free: 273.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/7.45, allocations: 3.953 kB / 3.724 GB, free: 273.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006072/7.45, allocations: 403.9 kB / 3.724 GB, free: 273.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/7.45, allocations: 7.844 kB / 3.724 GB, free: 273.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/7.45, allocations: 3.188 kB / 3.724 GB, free: 273.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/7.45, allocations: 3.844 kB / 3.724 GB, free: 273.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/7.451, allocations: 65.47 kB / 3.724 GB, free: 273.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/7.451, allocations: 12.16 kB / 3.724 GB, free: 273.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/7.451, allocations: 96.11 kB / 3.724 GB, free: 273.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/7.451, allocations: 21.69 kB / 3.724 GB, free: 273.3 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.0002676/7.452, allocations: 228.1 kB / 3.725 GB, free: 273.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/7.452, allocations: 80.52 kB / 3.725 GB, free: 273.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/7.452, allocations: 335.9 kB / 3.725 GB, free: 273.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/7.452, allocations: 0 / 3.725 GB, free: 273.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/7.452, allocations: 7.297 kB / 3.725 GB, free: 273.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/7.452, allocations: 0 / 3.725 GB, free: 273.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/7.454, allocations: 1.362 MB / 3.726 GB, free: 272.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/7.454, allocations: 3.812 kB / 3.726 GB, free: 272.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/7.454, allocations: 52.03 kB / 3.726 GB, free: 272.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/7.454, allocations: 3.906 kB / 3.726 GB, free: 272.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/7.454, allocations: 13.7 kB / 3.726 GB, free: 272.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/7.454, allocations: 11.64 kB / 3.726 GB, free: 272.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/7.455, allocations: 5.688 kB / 3.726 GB, free: 272.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/7.455, allocations: 0.7101 MB / 3.727 GB, free: 271.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/7.455, allocations: 187.2 kB / 3.727 GB, free: 271.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.172e-05/7.455, allocations: 9.781 kB / 3.727 GB, free: 271.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/7.456, allocations: 36.45 kB / 3.727 GB, free: 271.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/7.456, allocations: 28.03 kB / 3.727 GB, free: 271.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/7.456, allocations: 14.59 kB / 3.727 GB, free: 271.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006393/7.457, allocations: 0.6019 MB / 3.728 GB, free: 271.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.573e-06/7.457, allocations: 0 / 3.728 GB, free: 271.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001337/7.458, allocations: 362.5 kB / 3.728 GB, free: 271.7 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.002703/7.461, allocations: 1.97 MB / 3.73 GB, free: 271 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005624/7.461, allocations: 262 kB / 3.73 GB, free: 271 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/7.461, allocations: 3.5 kB / 3.73 GB, free: 271 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/7.462, allocations: 135.3 kB / 3.731 GB, free: 271 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/7.463, allocations: 399.8 kB / 3.731 GB, free: 271 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/7.465, allocations: 1.425 MB / 3.732 GB, free: 270.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/7.465, allocations: 1.01 MB / 3.733 GB, free: 269.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000576/7.466, allocations: 152.7 kB / 3.733 GB, free: 269.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/7.466, allocations: 49.34 kB / 3.733 GB, free: 269.5 MB / 1.167 GB Notification: Performance of SimCode: time 9.11e-07/7.466, allocations: 3.156 kB / 3.733 GB, free: 269.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05585/7.522, allocations: 35.9 MB / 3.769 GB, free: 268.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches