Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001513/0.001513, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 197.6 kB / 16.79 MB, free: 6.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.66 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2893, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1988/0.4881, allocations: 191.9 MB / 1.24 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6008/1.089, allocations: 10.05 MB / 1.25 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/1.09, allocations: 25.72 kB / 1.25 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/1.091, allocations: 313.4 kB / 1.25 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002667/1.094, allocations: 0.9701 MB / 1.251 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/1.097, allocations: 1.194 MB / 1.252 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003016/1.1, allocations: 2.338 MB / 1.255 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/1.101, allocations: 0.7171 MB / 1.255 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/1.104, allocations: 1.314 MB / 1.257 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008271/1.105, allocations: 0.5564 MB / 1.257 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-05/1.105, allocations: 43.25 kB / 1.257 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/1.108, allocations: 1.663 MB / 1.259 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/1.109, allocations: 326.2 kB / 1.259 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005255/1.109, allocations: 417.8 kB / 1.26 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/1.111, allocations: 1.059 MB / 1.261 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.111, allocations: 0 / 1.261 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.02e-07/1.111, allocations: 0 / 1.261 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.245e-05/1.111, allocations: 0 / 1.261 GB, free: 2.012 MB / 0.9981 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.001757/1.113, allocations: 1.139 MB / 1.262 GB, free: 17.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.113, allocations: 16.47 kB / 1.262 GB, free: 17.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/1.115, allocations: 295.9 kB / 1.262 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008195/1.115, allocations: 0.5279 MB / 1.263 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/1.116, allocations: 58.28 kB / 1.263 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/1.116, allocations: 73.02 kB / 1.263 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.117, allocations: 0.8996 MB / 1.264 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.117, allocations: 1.656 kB / 1.264 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/1.117, allocations: 34.66 kB / 1.264 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.618e-05/1.117, allocations: 45.03 kB / 1.264 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.118, allocations: 0.5739 MB / 1.264 GB, free: 16.8 MB / 1.014 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.004177/1.123, allocations: 3.505 MB / 1.268 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004364/1.123, allocations: 223.8 kB / 1.268 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/1.123, allocations: 152.5 kB / 1.268 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009244/1.124, allocations: 489.1 kB / 1.268 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.124, allocations: 32.38 kB / 1.268 GB, free: 14.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.786e-06/1.124, allocations: 4.031 kB / 1.268 GB, free: 14.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001304/1.126, allocations: 453.3 kB / 1.269 GB, free: 13.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/1.126, allocations: 109.6 kB / 1.269 GB, free: 13.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.127, allocations: 0.8619 MB / 1.27 GB, free: 13.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/1.127, allocations: 30.92 kB / 1.27 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/1.127, allocations: 386.5 kB / 1.27 GB, free: 13.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/1.127, allocations: 75.44 kB / 1.27 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.127, allocations: 63.03 kB / 1.27 GB, free: 13.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.127, allocations: 320.2 kB / 1.271 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/1.128, allocations: 102 kB / 1.271 GB, free: 13.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/1.128, allocations: 213.6 kB / 1.271 GB, free: 13.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/1.129, allocations: 310.6 kB / 1.271 GB, free: 12.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.129, allocations: 1.094 kB / 1.271 GB, free: 12.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008137/1.129, allocations: 401.8 kB / 1.272 GB, free: 12.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.129, allocations: 10.34 kB / 1.272 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.129, allocations: 3.922 kB / 1.272 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/1.129, allocations: 4.625 kB / 1.272 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/1.13, allocations: 64.8 kB / 1.272 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/1.13, allocations: 8.953 kB / 1.272 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/1.13, allocations: 89.14 kB / 1.272 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/1.13, allocations: 17.02 kB / 1.272 GB, free: 12.77 MB / 1.014 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.0003504/1.131, allocations: 238.5 kB / 1.272 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/1.131, allocations: 82.3 kB / 1.272 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007512/1.132, allocations: 314.8 kB / 1.272 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.132, allocations: 2.875 kB / 1.272 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.132, allocations: 1 kB / 1.272 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.132, allocations: 6.391 kB / 1.272 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/1.134, allocations: 1.372 MB / 1.274 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.134, allocations: 3.969 kB / 1.274 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/1.135, allocations: 45.67 kB / 1.274 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/1.135, allocations: 6.547 kB / 1.274 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/1.135, allocations: 9.812 kB / 1.274 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/1.135, allocations: 7.078 kB / 1.274 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/1.135, allocations: 7.531 kB / 1.274 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/1.136, allocations: 0.5227 MB / 1.274 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/1.136, allocations: 191.8 kB / 1.275 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/1.136, allocations: 10.27 kB / 1.275 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/1.136, allocations: 27.53 kB / 1.275 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/1.136, allocations: 30.48 kB / 1.275 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/1.136, allocations: 13.95 kB / 1.275 GB, free: 11.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008489/1.137, allocations: 0.6101 MB / 1.275 GB, free: 11.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.137, allocations: 0 / 1.275 GB, free: 11.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006891/1.138, allocations: 160.6 kB / 1.275 GB, free: 11.38 MB / 1.014 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.0004775/1.138, allocations: 196.1 kB / 1.276 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006045/1.139, allocations: 255.9 kB / 1.276 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.139, allocations: 1.562 kB / 1.276 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/1.139, allocations: 134.4 kB / 1.276 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/1.141, allocations: 407.8 kB / 1.276 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.143, allocations: 1.537 MB / 1.278 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/1.144, allocations: 0.9878 MB / 1.279 GB, free: 9.629 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.144, allocations: 51.59 kB / 1.279 GB, free: 9.625 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.144, allocations: 0 / 1.279 GB, free: 9.625 MB / 1.014 GB Notification: Performance of Templates: time 0.02052/1.165, allocations: 12 MB / 1.291 GB, free: 8.645 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches