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.483/1.483, allocations: 249.3 MB / 261.8 MB, free: 5.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001221, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008641/0.0008644, allocations: 98.47 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.447e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.041/6.29, allocations: 2.187 GB / 3.079 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/6.29, allocations: 90.56 kB / 3.079 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.312/8.602, allocations: 0.5839 GB / 3.663 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.295e-06/8.602, allocations: 3.703 kB / 3.663 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.935e-05/8.602, allocations: 28.67 kB / 3.663 GB, free: 172.4 MB / 0.8698 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.002201/8.604, allocations: 1.12 MB / 3.664 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/8.604, allocations: 8.812 kB / 3.664 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/8.606, allocations: 284.9 kB / 3.664 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009086/8.607, allocations: 0.5564 MB / 3.665 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/8.607, allocations: 64.03 kB / 3.665 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/8.607, allocations: 72.22 kB / 3.665 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/8.608, allocations: 0.8447 MB / 3.666 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/8.608, allocations: 9.859 kB / 3.666 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/8.608, allocations: 34.89 kB / 3.666 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/8.608, allocations: 39.33 kB / 3.666 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/8.609, allocations: 0.5093 MB / 3.666 GB, free: 171.4 MB / 0.8698 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.002955/8.612, allocations: 3.473 MB / 3.67 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/8.612, allocations: 203.5 kB / 3.67 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/8.612, allocations: 125 kB / 3.67 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/8.613, allocations: 492.1 kB / 3.67 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/8.613, allocations: 37.41 kB / 3.67 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/8.613, allocations: 3.562 kB / 3.67 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0008126/8.614, allocations: 322.8 kB / 3.671 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/8.614, allocations: 103.6 kB / 3.671 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008227/8.615, allocations: 0.7464 MB / 3.671 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/8.615, allocations: 32.95 kB / 3.672 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/8.615, allocations: 388 kB / 3.672 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.774e-05/8.615, allocations: 81.91 kB / 3.672 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/8.615, allocations: 3.188 kB / 3.672 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/8.615, allocations: 318.9 kB / 3.672 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/8.615, allocations: 86.14 kB / 3.672 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/8.616, allocations: 222.7 kB / 3.673 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/8.616, allocations: 114.9 kB / 3.673 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/8.616, allocations: 3.938 kB / 3.673 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004967/8.616, allocations: 368 kB / 3.673 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/8.616, allocations: 7.688 kB / 3.673 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/8.616, allocations: 0 / 3.673 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/8.616, allocations: 10.12 kB / 3.673 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/8.617, allocations: 60.33 kB / 3.673 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/8.617, allocations: 3.906 kB / 3.673 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/8.617, allocations: 100.6 kB / 3.673 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/8.617, allocations: 22.58 kB / 3.673 GB, free: 167.6 MB / 0.8698 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 9.056e-05/8.617, allocations: 123.9 kB / 3.673 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/8.618, allocations: 76.62 kB / 3.673 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004584/8.618, allocations: 287.8 kB / 3.674 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/8.618, allocations: 0 / 3.674 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/8.618, allocations: 9.562 kB / 3.674 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/8.618, allocations: 0 / 3.674 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/8.62, allocations: 1.33 MB / 3.675 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/8.62, allocations: 3.156 kB / 3.675 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/8.62, allocations: 46.09 kB / 3.675 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/8.62, allocations: 5.844 kB / 3.675 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/8.62, allocations: 20.36 kB / 3.675 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/8.62, allocations: 7.156 kB / 3.675 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/8.62, allocations: 7.781 kB / 3.675 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/8.621, allocations: 0.6837 MB / 3.676 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/8.621, allocations: 182.4 kB / 3.676 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/8.621, allocations: 14.8 kB / 3.676 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/8.621, allocations: 39.08 kB / 3.676 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/8.621, allocations: 28.53 kB / 3.676 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/8.621, allocations: 13.7 kB / 3.676 GB, free: 166 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006259/8.622, allocations: 0.5907 MB / 3.677 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/8.622, allocations: 0 / 3.677 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001349/8.623, allocations: 354.6 kB / 3.677 GB, free: 165.9 MB / 0.8698 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.003003/8.626, allocations: 1.972 MB / 3.679 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004968/8.627, allocations: 229.5 kB / 3.679 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/8.627, allocations: 2.25 kB / 3.679 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/8.627, allocations: 115.4 kB / 3.679 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/8.629, allocations: 399.4 kB / 3.68 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/8.631, allocations: 0.9355 MB / 3.68 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/8.631, allocations: 1.012 MB / 3.681 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005779/8.632, allocations: 154.2 kB / 3.682 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/8.632, allocations: 49 kB / 3.682 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/8.632, allocations: 0 / 3.682 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.05575/8.688, allocations: 40.99 MB / 3.722 GB, free: 150.2 MB / 0.8698 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