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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 109.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 194.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 68.36 kB / 0.8127 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2853, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.739/1.024, allocations: 191.6 MB / 1.137 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0104/1.035, allocations: 9.943 MB / 1.147 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/1.036, allocations: 26.12 kB / 1.147 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/1.037, allocations: 336.9 kB / 1.147 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002878/1.04, allocations: 0.9618 MB / 1.148 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/1.043, allocations: 1.198 MB / 1.149 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002253/1.045, allocations: 1.701 MB / 1.151 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/1.047, allocations: 0.7957 MB / 1.151 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/1.05, allocations: 1.406 MB / 1.153 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/1.051, allocations: 0.5591 MB / 1.153 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/1.051, allocations: 66.06 kB / 1.153 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/1.054, allocations: 1.462 MB / 1.155 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/1.054, allocations: 347.3 kB / 1.155 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000497/1.054, allocations: 437.6 kB / 1.156 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/1.056, allocations: 1.069 MB / 1.157 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.056, allocations: 3.938 kB / 1.157 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/1.056, allocations: 4 kB / 1.157 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.454e-05/1.056, allocations: 1.094 kB / 1.157 GB, free: 2.664 MB / 0.8575 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.001578/1.058, allocations: 1.134 MB / 1.158 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.058, allocations: 13.28 kB / 1.158 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.06, allocations: 292.1 kB / 1.158 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/1.06, allocations: 0.5301 MB / 1.159 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/1.061, allocations: 55.69 kB / 1.159 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/1.061, allocations: 74.03 kB / 1.159 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/1.062, allocations: 0.9075 MB / 1.16 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/1.062, allocations: 1.031 kB / 1.16 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/1.062, allocations: 30.42 kB / 1.16 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.176e-05/1.062, allocations: 43.41 kB / 1.16 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/1.063, allocations: 0.5717 MB / 1.16 GB, free: 16.75 MB / 0.8731 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.003546/1.067, allocations: 3.504 MB / 1.164 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/1.067, allocations: 230.1 kB / 1.164 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/1.067, allocations: 145.2 kB / 1.164 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008664/1.068, allocations: 487.8 kB / 1.164 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.068, allocations: 43.81 kB / 1.165 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/1.068, allocations: 0 / 1.165 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.001226/1.069, allocations: 449.8 kB / 1.165 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/1.069, allocations: 117.4 kB / 1.165 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/1.071, allocations: 0.8648 MB / 1.166 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/1.071, allocations: 30.89 kB / 1.166 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/1.071, allocations: 380.2 kB / 1.166 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/1.071, allocations: 81.73 kB / 1.166 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.071, allocations: 56.3 kB / 1.166 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.071, allocations: 319.1 kB / 1.167 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/1.071, allocations: 104 kB / 1.167 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/1.072, allocations: 205.8 kB / 1.167 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/1.072, allocations: 320.3 kB / 1.167 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.072, allocations: 0 / 1.167 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007518/1.073, allocations: 398.3 kB / 1.168 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.073, allocations: 9.938 kB / 1.168 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.073, allocations: 2.312 kB / 1.168 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.073, allocations: 8.531 kB / 1.168 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/1.074, allocations: 65.11 kB / 1.168 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.074, allocations: 9.438 kB / 1.168 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/1.074, allocations: 88.75 kB / 1.168 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.074, allocations: 19.5 kB / 1.168 GB, free: 11.44 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003141/1.075, allocations: 227.1 kB / 1.168 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/1.075, allocations: 82.34 kB / 1.168 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006223/1.075, allocations: 326.8 kB / 1.169 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.075, allocations: 6.656 kB / 1.169 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.075, allocations: 1.562 kB / 1.169 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.075, allocations: 5.281 kB / 1.169 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/1.077, allocations: 1.367 MB / 1.17 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.077, allocations: 3.406 kB / 1.17 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/1.078, allocations: 45.7 kB / 1.17 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.078, allocations: 4.906 kB / 1.17 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/1.078, allocations: 13.5 kB / 1.17 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/1.078, allocations: 13.81 kB / 1.17 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.078, allocations: 6.719 kB / 1.17 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/1.078, allocations: 0.5101 MB / 1.17 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/1.079, allocations: 191.5 kB / 1.171 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/1.079, allocations: 7.359 kB / 1.171 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/1.079, allocations: 31.27 kB / 1.171 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/1.079, allocations: 27.88 kB / 1.171 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/1.079, allocations: 10.19 kB / 1.171 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007089/1.08, allocations: 0.6235 MB / 1.171 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.3e-07/1.08, allocations: 0 / 1.171 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006478/1.081, allocations: 163.1 kB / 1.171 GB, free: 9.375 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004237/1.081, allocations: 185.4 kB / 1.172 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005582/1.082, allocations: 268.4 kB / 1.172 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.082, allocations: 0 / 1.172 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/1.082, allocations: 136.2 kB / 1.172 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/1.084, allocations: 423.3 kB / 1.172 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/1.086, allocations: 1.519 MB / 1.174 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/1.086, allocations: 0.9984 MB / 1.175 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/1.087, allocations: 49.84 kB / 1.175 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/1.087, allocations: 0 / 1.175 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of Templates: time 0.01913/1.106, allocations: 12.01 MB / 1.187 GB, free: 2.648 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches