Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 172.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 90.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003451, allocations: 13.69 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2728, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.066/5.339, allocations: 2.187 GB / 3.087 GB, free: 33.86 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.34, allocations: 89.08 kB / 3.087 GB, free: 33.77 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.119/7.459, allocations: 0.5845 GB / 3.672 GB, free: 138 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/7.459, allocations: 0 / 3.672 GB, free: 138 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.667e-05/7.459, allocations: 30.94 kB / 3.672 GB, free: 138 MB / 0.8855 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.003131/7.462, allocations: 1.206 MB / 3.673 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/7.462, allocations: 8.031 kB / 3.673 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/7.464, allocations: 290.6 kB / 3.673 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/7.465, allocations: 0.5615 MB / 3.674 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/7.465, allocations: 61.95 kB / 3.674 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/7.466, allocations: 79.98 kB / 3.674 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/7.467, allocations: 0.8713 MB / 3.675 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/7.467, allocations: 4 kB / 3.675 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/7.467, allocations: 31.98 kB / 3.675 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/7.467, allocations: 41.3 kB / 3.675 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/7.468, allocations: 0.5553 MB / 3.675 GB, free: 134.2 MB / 0.8855 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.003494/7.472, allocations: 3.477 MB / 3.679 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/7.472, allocations: 211.7 kB / 3.679 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/7.473, allocations: 0.4897 MB / 3.679 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/7.473, allocations: 30.56 kB / 3.679 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.494e-06/7.473, allocations: 0 / 3.679 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.001141/7.474, allocations: 449.9 kB / 3.68 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/7.474, allocations: 110.7 kB / 3.68 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007997/7.475, allocations: 0.7662 MB / 3.681 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/7.475, allocations: 33.7 kB / 3.681 GB, free: 128.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/7.475, allocations: 387.8 kB / 3.681 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/7.475, allocations: 67 kB / 3.681 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/7.475, allocations: 8 kB / 3.681 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/7.475, allocations: 314 kB / 3.681 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/7.475, allocations: 106.6 kB / 3.682 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/7.475, allocations: 242.9 kB / 3.682 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/7.476, allocations: 127.9 kB / 3.682 GB, free: 127 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/7.476, allocations: 0 / 3.682 GB, free: 127 MB / 0.8855 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006289/7.476, allocations: 411.7 kB / 3.682 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/7.476, allocations: 9.406 kB / 3.682 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/7.476, allocations: 4 kB / 3.682 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.35e-05/7.476, allocations: 4 kB / 3.682 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/7.477, allocations: 64.25 kB / 3.682 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/7.477, allocations: 7.953 kB / 3.682 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/7.477, allocations: 99.03 kB / 3.682 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/7.477, allocations: 15.98 kB / 3.682 GB, free: 126.4 MB / 0.8855 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.0002657/7.478, allocations: 229.7 kB / 3.683 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/7.478, allocations: 79.06 kB / 3.683 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/7.478, allocations: 335.1 kB / 3.683 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/7.478, allocations: 4 kB / 3.683 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/7.478, allocations: 7.984 kB / 3.683 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/7.478, allocations: 0 / 3.683 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/7.48, allocations: 1.365 MB / 3.684 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/7.48, allocations: 4 kB / 3.684 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/7.48, allocations: 43.92 kB / 3.685 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/7.48, allocations: 4.531 kB / 3.685 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/7.48, allocations: 19.98 kB / 3.685 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/7.48, allocations: 7.938 kB / 3.685 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/7.48, allocations: 8 kB / 3.685 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/7.481, allocations: 0.7121 MB / 3.685 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/7.481, allocations: 180.1 kB / 3.685 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/7.482, allocations: 8 kB / 3.685 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/7.482, allocations: 43.81 kB / 3.685 GB, free: 123 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/7.482, allocations: 27.86 kB / 3.685 GB, free: 123 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/7.482, allocations: 16 kB / 3.685 GB, free: 123 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006563/7.483, allocations: 0.6044 MB / 3.686 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/7.483, allocations: 0 / 3.686 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001295/7.484, allocations: 351.2 kB / 3.686 GB, free: 122 MB / 0.8855 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.003079/7.487, allocations: 1.978 MB / 3.688 GB, free: 120 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005748/7.488, allocations: 263.8 kB / 3.689 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/7.488, allocations: 0 / 3.689 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/7.488, allocations: 129.3 kB / 3.689 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/7.49, allocations: 409.9 kB / 3.689 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/7.492, allocations: 1.421 MB / 3.691 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/7.492, allocations: 1.008 MB / 3.691 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006265/7.493, allocations: 158.2 kB / 3.692 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/7.493, allocations: 47.44 kB / 3.692 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of SimCode: time 4.1e-07/7.493, allocations: 0 / 3.692 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.04435/7.538, allocations: 35.88 MB / 3.727 GB, free: 80.72 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches