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.245/2.245, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001081/0.001081, allocations: 184.7 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009878/0.0009879, allocations: 99.84 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.646e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3389, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.409/6.748, allocations: 1.875 GB / 3.093 GB, free: 363.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.748, allocations: 86.64 kB / 3.094 GB, free: 363.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.107/8.854, allocations: 0.6089 GB / 3.702 GB, free: 225.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.933e-06/8.855, allocations: 0 / 3.702 GB, free: 225.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001055/8.855, allocations: 27.98 kB / 3.702 GB, free: 225.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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003241/8.858, allocations: 1.119 MB / 3.704 GB, free: 224.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/8.858, allocations: 8.031 kB / 3.704 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/8.86, allocations: 293.8 kB / 3.704 GB, free: 224.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/8.861, allocations: 0.5606 MB / 3.704 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/8.862, allocations: 57.98 kB / 3.704 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/8.862, allocations: 76 kB / 3.705 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/8.863, allocations: 0.848 MB / 3.705 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/8.863, allocations: 0 / 3.705 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/8.863, allocations: 35.98 kB / 3.705 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/8.863, allocations: 41.3 kB / 3.705 GB, free: 222.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/8.864, allocations: 0.5125 MB / 3.706 GB, free: 222.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.004263/8.869, allocations: 3.478 MB / 3.709 GB, free: 218.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/8.869, allocations: 195.3 kB / 3.71 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/8.869, allocations: 126.9 kB / 3.71 GB, free: 218.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/8.87, allocations: 485.4 kB / 3.71 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/8.87, allocations: 38.56 kB / 3.71 GB, free: 217.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 3.146e-06/8.87, allocations: 0 / 3.71 GB, free: 217.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.0009686/8.871, allocations: 317.9 kB / 3.71 GB, free: 217.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/8.871, allocations: 110.8 kB / 3.711 GB, free: 217 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008536/8.872, allocations: 0.7506 MB / 3.711 GB, free: 216.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/8.872, allocations: 29.7 kB / 3.711 GB, free: 216.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/8.872, allocations: 395.7 kB / 3.712 GB, free: 215.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/8.872, allocations: 70.95 kB / 3.712 GB, free: 215.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/8.872, allocations: 8.062 kB / 3.712 GB, free: 215.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/8.872, allocations: 318 kB / 3.712 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/8.872, allocations: 83.95 kB / 3.712 GB, free: 215.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/8.873, allocations: 210.5 kB / 3.712 GB, free: 215.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/8.873, allocations: 113 kB / 3.712 GB, free: 215 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/8.873, allocations: 0 / 3.712 GB, free: 215 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005553/8.873, allocations: 370.1 kB / 3.713 GB, free: 214.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/8.873, allocations: 8.062 kB / 3.713 GB, free: 214.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/8.873, allocations: 4 kB / 3.713 GB, free: 214.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/8.873, allocations: 7.953 kB / 3.713 GB, free: 214.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/8.874, allocations: 63.91 kB / 3.713 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/8.874, allocations: 8 kB / 3.713 GB, free: 214.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/8.874, allocations: 95.12 kB / 3.713 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/8.874, allocations: 27.92 kB / 3.713 GB, free: 214.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 () * 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.0001028/8.875, allocations: 120.9 kB / 3.713 GB, free: 214.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/8.875, allocations: 83 kB / 3.713 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/8.875, allocations: 293.4 kB / 3.713 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/8.875, allocations: 11.06 kB / 3.713 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/8.875, allocations: 0 / 3.713 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/8.875, allocations: 0 / 3.713 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/8.877, allocations: 1.327 MB / 3.715 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/8.877, allocations: 4 kB / 3.715 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/8.877, allocations: 43.92 kB / 3.715 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/8.877, allocations: 4 kB / 3.715 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/8.877, allocations: 12 kB / 3.715 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/8.877, allocations: 11.92 kB / 3.715 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/8.877, allocations: 8 kB / 3.715 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/8.878, allocations: 0.678 MB / 3.716 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/8.878, allocations: 192 kB / 3.716 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/8.878, allocations: 8 kB / 3.716 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/8.879, allocations: 35.97 kB / 3.716 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/8.879, allocations: 27.86 kB / 3.716 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/8.879, allocations: 16 kB / 3.716 GB, free: 211.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006135/8.879, allocations: 0.585 MB / 3.716 GB, free: 210.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/8.879, allocations: 0 / 3.716 GB, free: 210.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001437/8.881, allocations: 355.9 kB / 3.717 GB, free: 210.3 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 () * 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.003133/8.884, allocations: 1.978 MB / 3.719 GB, free: 208.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004292/8.885, allocations: 213 kB / 3.719 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/8.885, allocations: 4 kB / 3.719 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/8.885, allocations: 121.3 kB / 3.719 GB, free: 207.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/8.887, allocations: 406.4 kB / 3.719 GB, free: 207.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/8.889, allocations: 0.9391 MB / 3.72 GB, free: 206.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/8.889, allocations: 1.008 MB / 3.721 GB, free: 205.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000727/8.89, allocations: 162.2 kB / 3.721 GB, free: 205.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/8.89, allocations: 55.44 kB / 3.721 GB, free: 205.2 MB / 1.167 GB Notification: Performance of SimCode: time 7.41e-07/8.89, allocations: 0 / 3.721 GB, free: 205.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05085/8.941, allocations: 41 MB / 3.761 GB, free: 164.4 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