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.647/2.647, allocations: 390.5 MB / 398 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.001338/0.001338, allocations: 183.1 kB / 491.2 MB, free: 1.582 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.783/1.783, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001339/0.001339, allocations: 91.84 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.718e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3406, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.232/6.573, allocations: 1.874 GB / 3.086 GB, free: 433.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/6.573, allocations: 85.19 kB / 3.086 GB, free: 433.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.96/8.533, allocations: 0.6015 GB / 3.688 GB, free: 279.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/8.533, allocations: 2.688 kB / 3.688 GB, free: 279.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.664e-05/8.533, allocations: 21.28 kB / 3.688 GB, free: 279.6 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002999/8.536, allocations: 1.122 MB / 3.689 GB, free: 278.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/8.536, allocations: 14.25 kB / 3.689 GB, free: 278.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/8.538, allocations: 288.1 kB / 3.689 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/8.539, allocations: 0.561 MB / 3.69 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/8.539, allocations: 25.94 kB / 3.69 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/8.54, allocations: 46.42 kB / 3.69 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008652/8.54, allocations: 468.5 kB / 3.69 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/8.542, allocations: 0.7387 MB / 3.691 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/8.542, allocations: 0 / 3.691 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/8.542, allocations: 3.703 kB / 3.691 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/8.542, allocations: 44.33 kB / 3.691 GB, free: 277.6 MB / 1.151 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.003255/8.545, allocations: 3.391 MB / 3.694 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/8.545, allocations: 175.4 kB / 3.695 GB, free: 274.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/8.545, allocations: 115.8 kB / 3.695 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/8.546, allocations: 396.8 kB / 3.695 GB, free: 274 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/8.546, allocations: 30.56 kB / 3.695 GB, free: 274 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 2.285e-06/8.546, allocations: 3.594 kB / 3.695 GB, free: 274 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0009404/8.547, allocations: 293.7 kB / 3.695 GB, free: 273.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/8.547, allocations: 106.8 kB / 3.696 GB, free: 273.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/8.547, allocations: 360.2 kB / 3.696 GB, free: 273.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/8.547, allocations: 25.7 kB / 3.696 GB, free: 273.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/8.548, allocations: 421 kB / 3.696 GB, free: 273.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/8.548, allocations: 61.59 kB / 3.696 GB, free: 273.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/8.548, allocations: 0 / 3.696 GB, free: 273.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/8.548, allocations: 361.7 kB / 3.697 GB, free: 272.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/8.548, allocations: 75.59 kB / 3.697 GB, free: 272.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/8.548, allocations: 205.7 kB / 3.697 GB, free: 272.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/8.548, allocations: 142.7 kB / 3.697 GB, free: 272.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/8.548, allocations: 0 / 3.697 GB, free: 272.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005307/8.549, allocations: 346.4 kB / 3.697 GB, free: 272.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/8.549, allocations: 10.5 kB / 3.697 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/8.549, allocations: 0 / 3.697 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/8.549, allocations: 6.25 kB / 3.697 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/8.549, allocations: 65.09 kB / 3.698 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/8.549, allocations: 3.906 kB / 3.698 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/8.55, allocations: 49.25 kB / 3.698 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/8.55, allocations: 18.44 kB / 3.698 GB, free: 272.3 MB / 1.151 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 8.96e-05/8.55, allocations: 122.7 kB / 3.698 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/8.55, allocations: 41.56 kB / 3.698 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/8.55, allocations: 246.5 kB / 3.698 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/8.55, allocations: 3.875 kB / 3.698 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/8.55, allocations: 0 / 3.698 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/8.55, allocations: 7.156 kB / 3.698 GB, free: 272 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/8.552, allocations: 1.169 MB / 3.699 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/8.552, allocations: 5.375 kB / 3.699 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/8.552, allocations: 47.36 kB / 3.699 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/8.552, allocations: 7.719 kB / 3.699 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/8.552, allocations: 6.688 kB / 3.699 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/8.552, allocations: 5.344 kB / 3.699 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/8.552, allocations: 7.469 kB / 3.699 GB, free: 271.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/8.553, allocations: 0.6136 MB / 3.7 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/8.553, allocations: 140 kB / 3.7 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/8.553, allocations: 7.875 kB / 3.7 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/8.553, allocations: 40.47 kB / 3.7 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/8.553, allocations: 25.84 kB / 3.7 GB, free: 270.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/8.553, allocations: 10.88 kB / 3.7 GB, free: 270.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002294/8.554, allocations: 272.3 kB / 3.7 GB, free: 270.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/8.554, allocations: 0 / 3.7 GB, free: 270.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001084/8.555, allocations: 320.4 kB / 3.701 GB, free: 269.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003416/8.558, allocations: 2.208 MB / 3.703 GB, free: 268.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000359/8.559, allocations: 196.4 kB / 3.703 GB, free: 268 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/8.559, allocations: 0 / 3.703 GB, free: 268 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/8.559, allocations: 97.94 kB / 3.703 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009042/8.56, allocations: 187.1 kB / 3.703 GB, free: 267.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/8.561, allocations: 0.8403 MB / 3.704 GB, free: 266.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/8.562, allocations: 1.011 MB / 3.705 GB, free: 265.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004062/8.562, allocations: 98.03 kB / 3.705 GB, free: 265.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/8.562, allocations: 35.42 kB / 3.705 GB, free: 265.7 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/8.562, allocations: 3.781 kB / 3.705 GB, free: 265.7 MB / 1.151 GB Notification: Performance of Templates: time 0.02683/8.589, allocations: 17.7 MB / 3.722 GB, free: 248.8 MB / 1.151 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