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.089/2.089, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001184/0.001184, allocations: 188.8 kB / 487.4 MB, free: 5.059 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.428/1.428, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 99.84 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.918e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.083/4.389, allocations: 1.873 GB / 3.079 GB, free: 7.887 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/4.389, allocations: 87.95 kB / 3.079 GB, free: 7.801 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.274/6.663, allocations: 0.6015 GB / 3.681 GB, free: 286.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.994e-06/6.663, allocations: 0 / 3.681 GB, free: 286.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.511e-05/6.663, allocations: 30.78 kB / 3.681 GB, free: 286.7 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.002566/6.666, allocations: 1.115 MB / 3.682 GB, free: 286 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/6.666, allocations: 11.53 kB / 3.682 GB, free: 286 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/6.668, allocations: 287.1 kB / 3.682 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/6.669, allocations: 0.5625 MB / 3.683 GB, free: 285.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/6.669, allocations: 21.59 kB / 3.683 GB, free: 285.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/6.669, allocations: 46.61 kB / 3.683 GB, free: 285.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008627/6.67, allocations: 468.1 kB / 3.683 GB, free: 285.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/6.671, allocations: 0.7403 MB / 3.684 GB, free: 284.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/6.671, allocations: 0 / 3.684 GB, free: 284.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/6.671, allocations: 3.656 kB / 3.684 GB, free: 284.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/6.671, allocations: 43.14 kB / 3.684 GB, free: 284.8 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.003019/6.674, allocations: 3.401 MB / 3.687 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/6.674, allocations: 172.7 kB / 3.688 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/6.675, allocations: 116 kB / 3.688 GB, free: 281.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004661/6.675, allocations: 392.2 kB / 3.688 GB, free: 281.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/6.675, allocations: 42.47 kB / 3.688 GB, free: 281.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/6.675, allocations: 0 / 3.688 GB, free: 281.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.000896/6.676, allocations: 287.6 kB / 3.688 GB, free: 281 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/6.676, allocations: 106.8 kB / 3.688 GB, free: 280.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/6.676, allocations: 353.3 kB / 3.689 GB, free: 280.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/6.676, allocations: 28.95 kB / 3.689 GB, free: 280.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/6.677, allocations: 416.5 kB / 3.689 GB, free: 280.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/6.677, allocations: 75.02 kB / 3.689 GB, free: 280.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/6.677, allocations: 0 / 3.689 GB, free: 280.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/6.677, allocations: 350.7 kB / 3.69 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/6.677, allocations: 78.7 kB / 3.69 GB, free: 279.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/6.677, allocations: 206.6 kB / 3.69 GB, free: 279.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/6.677, allocations: 143.9 kB / 3.69 GB, free: 279.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/6.677, allocations: 0 / 3.69 GB, free: 279.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004884/6.678, allocations: 342.1 kB / 3.69 GB, free: 279.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/6.678, allocations: 10.75 kB / 3.69 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/6.678, allocations: 3.812 kB / 3.69 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/6.678, allocations: 3.812 kB / 3.69 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/6.678, allocations: 62 kB / 3.69 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/6.678, allocations: 3.938 kB / 3.69 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/6.679, allocations: 45.89 kB / 3.69 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/6.679, allocations: 24.53 kB / 3.69 GB, free: 279.5 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 7.917e-05/6.679, allocations: 118.4 kB / 3.691 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/6.679, allocations: 45.5 kB / 3.691 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/6.679, allocations: 249.3 kB / 3.691 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/6.679, allocations: 3.938 kB / 3.691 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/6.679, allocations: 0 / 3.691 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/6.679, allocations: 0 / 3.691 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/6.681, allocations: 1.173 MB / 3.692 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/6.681, allocations: 12.92 kB / 3.692 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/6.681, allocations: 49.05 kB / 3.692 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/6.681, allocations: 3.875 kB / 3.692 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/6.681, allocations: 7.453 kB / 3.692 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/6.681, allocations: 10.31 kB / 3.692 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/6.681, allocations: 9.891 kB / 3.692 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/6.682, allocations: 0.608 MB / 3.693 GB, free: 277.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/6.682, allocations: 142.2 kB / 3.693 GB, free: 277.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/6.682, allocations: 3.969 kB / 3.693 GB, free: 277.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/6.682, allocations: 29.72 kB / 3.693 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/6.682, allocations: 34.64 kB / 3.693 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/6.682, allocations: 7.75 kB / 3.693 GB, free: 277.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002151/6.682, allocations: 265.9 kB / 3.693 GB, free: 277.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.682, allocations: 0 / 3.693 GB, free: 277.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009552/6.683, allocations: 326.9 kB / 3.693 GB, free: 277.1 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.00263/6.686, allocations: 2.206 MB / 3.696 GB, free: 276.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003181/6.686, allocations: 200.5 kB / 3.696 GB, free: 276.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/6.686, allocations: 3.031 kB / 3.696 GB, free: 276.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/6.686, allocations: 93.17 kB / 3.696 GB, free: 276.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/6.687, allocations: 182.3 kB / 3.696 GB, free: 276.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/6.688, allocations: 0.8424 MB / 3.697 GB, free: 275.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/6.689, allocations: 1.006 MB / 3.698 GB, free: 274.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003656/6.689, allocations: 105.5 kB / 3.698 GB, free: 274.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/6.689, allocations: 32.41 kB / 3.698 GB, free: 274.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/6.689, allocations: 0 / 3.698 GB, free: 274.6 MB / 1.151 GB Notification: Performance of Templates: time 0.02352/6.713, allocations: 17.71 MB / 3.715 GB, free: 262.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