Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001585/0.001586, allocations: 165 kB / 492.3 MB, free: 0.6172 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.689/1.689, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009284/0.0009284, allocations: 95.5 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.107e-05, allocations: 7.938 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3043, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.043/6.347, allocations: 1.874 GB / 3.086 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/6.348, allocations: 85.33 kB / 3.086 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.069/8.416, allocations: 0.6089 GB / 3.695 GB, free: 267.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/8.417, allocations: 0 / 3.695 GB, free: 267.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.769e-05/8.417, allocations: 28 kB / 3.695 GB, free: 267.4 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.003151/8.42, allocations: 1.115 MB / 3.696 GB, free: 266.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/8.42, allocations: 8.031 kB / 3.696 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/8.422, allocations: 292.8 kB / 3.697 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/8.423, allocations: 0.5606 MB / 3.697 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/8.423, allocations: 61.2 kB / 3.697 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/8.423, allocations: 75.95 kB / 3.697 GB, free: 265.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/8.425, allocations: 0.8455 MB / 3.698 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/8.425, allocations: 7.438 kB / 3.698 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/8.425, allocations: 34.66 kB / 3.698 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-05/8.425, allocations: 41.3 kB / 3.698 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/8.426, allocations: 0.5008 MB / 3.699 GB, free: 263.9 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.003759/8.43, allocations: 3.472 MB / 3.702 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/8.43, allocations: 199.3 kB / 3.702 GB, free: 260.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/8.43, allocations: 126.5 kB / 3.702 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006269/8.431, allocations: 486.6 kB / 3.703 GB, free: 259.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/8.431, allocations: 38.55 kB / 3.703 GB, free: 259.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/8.431, allocations: 6.844 kB / 3.703 GB, free: 259.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0009372/8.432, allocations: 322 kB / 3.703 GB, free: 259.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/8.432, allocations: 106.8 kB / 3.703 GB, free: 259 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/8.433, allocations: 0.7505 MB / 3.704 GB, free: 258.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/8.433, allocations: 29.7 kB / 3.704 GB, free: 258.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/8.433, allocations: 383.8 kB / 3.705 GB, free: 257.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/8.433, allocations: 77.59 kB / 3.705 GB, free: 257.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/8.433, allocations: 7.5 kB / 3.705 GB, free: 257.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/8.433, allocations: 325.9 kB / 3.705 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/8.433, allocations: 83.91 kB / 3.705 GB, free: 257.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/8.434, allocations: 210 kB / 3.705 GB, free: 257.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/8.434, allocations: 116.2 kB / 3.705 GB, free: 256.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/8.434, allocations: 0 / 3.705 GB, free: 256.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005682/8.434, allocations: 371.9 kB / 3.706 GB, free: 256.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/8.434, allocations: 9.234 kB / 3.706 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/8.434, allocations: 6.781 kB / 3.706 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/8.434, allocations: 4 kB / 3.706 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/8.435, allocations: 59.91 kB / 3.706 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/8.435, allocations: 12.02 kB / 3.706 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/8.435, allocations: 102.4 kB / 3.706 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/8.435, allocations: 20 kB / 3.706 GB, free: 256.4 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 0.000107/8.436, allocations: 120.9 kB / 3.706 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/8.436, allocations: 90.08 kB / 3.706 GB, free: 256.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/8.436, allocations: 290.3 kB / 3.706 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/8.436, allocations: 0 / 3.706 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/8.436, allocations: 7.938 kB / 3.706 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/8.436, allocations: 7.156 kB / 3.706 GB, free: 255.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/8.438, allocations: 1.321 MB / 3.708 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/8.438, allocations: 4 kB / 3.708 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/8.438, allocations: 51.91 kB / 3.708 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/8.438, allocations: 4 kB / 3.708 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/8.438, allocations: 11.69 kB / 3.708 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/8.438, allocations: 4 kB / 3.708 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/8.438, allocations: 7.938 kB / 3.708 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/8.439, allocations: 0.6834 MB / 3.708 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/8.439, allocations: 191.9 kB / 3.709 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/8.439, allocations: 11.14 kB / 3.709 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/8.44, allocations: 31.97 kB / 3.709 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/8.44, allocations: 31.59 kB / 3.709 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/8.44, allocations: 8 kB / 3.709 GB, free: 253.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006837/8.441, allocations: 0.5967 MB / 3.709 GB, free: 252.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/8.441, allocations: 0 / 3.709 GB, free: 252.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001522/8.442, allocations: 351.9 kB / 3.71 GB, free: 252.3 MB / 1.151 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.003333/8.445, allocations: 1.966 MB / 3.711 GB, free: 250.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004042/8.446, allocations: 224.6 kB / 3.712 GB, free: 250.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/8.446, allocations: 4 kB / 3.712 GB, free: 250.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/8.446, allocations: 110.5 kB / 3.712 GB, free: 250.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/8.448, allocations: 416.1 kB / 3.712 GB, free: 250.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/8.449, allocations: 0.9449 MB / 3.713 GB, free: 249.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/8.45, allocations: 1.003 MB / 3.714 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006267/8.45, allocations: 164.9 kB / 3.714 GB, free: 247.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/8.451, allocations: 47.44 kB / 3.714 GB, free: 247.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.21e-07/8.451, allocations: 0 / 3.714 GB, free: 247.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05174/8.502, allocations: 41 MB / 3.754 GB, free: 207.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches