Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001334/0.001334, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001359/0.001359, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.7, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2437/0.9437, allocations: 191.6 MB / 1.204 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.958, allocations: 9.947 MB / 1.214 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.9592, allocations: 27.81 kB / 1.214 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.9605, allocations: 333.9 kB / 1.214 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.9638, allocations: 0.9608 MB / 1.215 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.9673, allocations: 1.211 MB / 1.216 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.9697, allocations: 1.698 MB / 1.218 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.9709, allocations: 0.7885 MB / 1.219 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.9742, allocations: 1.401 MB / 1.22 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007573/0.975, allocations: 0.5562 MB / 1.22 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.9751, allocations: 60 kB / 1.221 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.9779, allocations: 1.465 MB / 1.222 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.9784, allocations: 347.1 kB / 1.222 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.9789, allocations: 445.7 kB / 1.223 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.9817, allocations: 1.581 MB / 1.224 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9817, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9817, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.9818, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9825 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.001817/0.9836, allocations: 1.15 MB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.9836, allocations: 8.031 kB / 1.225 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.9854, allocations: 294.6 kB / 1.226 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.9863, allocations: 0.5271 MB / 1.226 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.9864, allocations: 61.98 kB / 1.226 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.863e-05/0.9865, allocations: 72 kB / 1.226 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.988, allocations: 0.9024 MB / 1.227 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.988, allocations: 4 kB / 1.227 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.9881, allocations: 32 kB / 1.227 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.886e-05/0.9882, allocations: 37.3 kB / 1.227 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.9893, allocations: 0.5787 MB / 1.228 GB, free: 9.734 MB / 0.9825 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.004005/0.9933, allocations: 3.505 MB / 1.231 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.9937, allocations: 219.7 kB / 1.231 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.994, allocations: 146.5 kB / 1.232 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009161/0.995, allocations: 489.4 kB / 1.232 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.995, allocations: 34.5 kB / 1.232 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.995, allocations: 4 kB / 1.232 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001229/0.9963, allocations: 450.8 kB / 1.233 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/0.9965, allocations: 111 kB / 1.233 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.9976, allocations: 0.8723 MB / 1.233 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.9977, allocations: 25.7 kB / 1.233 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.9981, allocations: 383.8 kB / 1.234 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.9982, allocations: 74.84 kB / 1.234 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.9983, allocations: 65.69 kB / 1.234 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9985, allocations: 310 kB / 1.234 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.9988, allocations: 111.8 kB / 1.234 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.9991, allocations: 203.1 kB / 1.235 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.9998, allocations: 314.8 kB / 1.235 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9998, allocations: 0 / 1.235 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001146/1.001, allocations: 401.6 kB / 1.235 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.001, allocations: 11.98 kB / 1.235 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.001, allocations: 0 / 1.235 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.001, allocations: 4 kB / 1.235 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/1.001, allocations: 67.91 kB / 1.235 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.002, allocations: 7.938 kB / 1.235 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/1.002, allocations: 95.28 kB / 1.235 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/1.002, allocations: 19.94 kB / 1.235 GB, free: 1.414 MB / 0.9825 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.0006011/1.003, allocations: 233.6 kB / 1.236 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/1.003, allocations: 75.06 kB / 1.236 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007278/1.004, allocations: 326.1 kB / 1.236 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.004, allocations: 3.938 kB / 1.236 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.004, allocations: 4 kB / 1.236 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.004, allocations: 3.984 kB / 1.236 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/1.007, allocations: 1.362 MB / 1.237 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.007, allocations: 4 kB / 1.237 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/1.007, allocations: 51.91 kB / 1.237 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.007, allocations: 4 kB / 1.237 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.007, allocations: 12.47 kB / 1.237 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/1.007, allocations: 4 kB / 1.237 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.007, allocations: 11.94 kB / 1.238 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/1.008, allocations: 0.5125 MB / 1.238 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/1.008, allocations: 188.1 kB / 1.238 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/1.008, allocations: 11.98 kB / 1.238 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/1.009, allocations: 31.92 kB / 1.238 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/1.009, allocations: 27.91 kB / 1.238 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/1.009, allocations: 15.94 kB / 1.238 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008478/1.01, allocations: 0.6083 MB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.01, allocations: 4 kB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006605/1.01, allocations: 167.8 kB / 1.239 GB, free: 13.56 MB / 0.9981 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.0005938/1.011, allocations: 186.2 kB / 1.239 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006746/1.012, allocations: 268 kB / 1.239 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.012, allocations: 0 / 1.239 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/1.012, allocations: 129 kB / 1.24 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.014, allocations: 423.6 kB / 1.24 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/1.016, allocations: 1.488 MB / 1.241 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/1.017, allocations: 0.9917 MB / 1.242 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006717/1.018, allocations: 158.2 kB / 1.243 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/1.018, allocations: 47.44 kB / 1.243 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of SimCode: time 3.797e-06/1.018, allocations: 4 kB / 1.243 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of Templates: time 0.5068/1.525, allocations: 13.57 MB / 1.256 GB, free: 229.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches