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.001547/0.001547, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001534/0.001534, allocations: 198 kB / 17.3 MB, free: 5.883 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.646/2.646, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001342, allocations: 72.47 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3481, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.7896/1.138, allocations: 194.1 MB / 1.216 GB, free: 7.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01321/1.151, allocations: 10.04 MB / 1.226 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/1.152, allocations: 32 kB / 1.226 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000949/1.153, allocations: 399.1 kB / 1.226 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/1.156, allocations: 1.03 MB / 1.227 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/1.159, allocations: 1.299 MB / 1.229 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002445/1.161, allocations: 1.687 MB / 1.23 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/1.162, allocations: 0.8338 MB / 1.231 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/1.165, allocations: 1.424 MB / 1.233 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/1.166, allocations: 0.5251 MB / 1.233 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.715e-05/1.166, allocations: 60 kB / 1.233 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/1.169, allocations: 1.411 MB / 1.235 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004624/1.17, allocations: 351.1 kB / 1.235 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005093/1.17, allocations: 433.8 kB / 1.235 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002591/1.173, allocations: 1.507 MB / 1.237 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.173, allocations: 0 / 1.237 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.173, allocations: 0 / 1.237 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.506e-05/1.173, allocations: 0 / 1.237 GB, free: 6.215 MB / 0.9356 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.001675/1.174, allocations: 1.15 MB / 1.238 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.174, allocations: 8.031 kB / 1.238 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/1.176, allocations: 298.6 kB / 1.238 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/1.177, allocations: 0.5622 MB / 1.239 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/1.177, allocations: 65.98 kB / 1.239 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/1.178, allocations: 79.98 kB / 1.239 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/1.179, allocations: 0.8946 MB / 1.24 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.179, allocations: 0 / 1.24 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/1.179, allocations: 35.98 kB / 1.24 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/1.179, allocations: 41.23 kB / 1.24 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.18, allocations: 0.5749 MB / 1.24 GB, free: 2.359 MB / 0.9356 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.003758/1.184, allocations: 3.474 MB / 1.244 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/1.184, allocations: 223.7 kB / 1.244 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/1.185, allocations: 142.5 kB / 1.244 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/1.185, allocations: 497.4 kB / 1.245 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.185, allocations: 46.44 kB / 1.245 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/1.185, allocations: 0 / 1.245 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.001193/1.187, allocations: 446.5 kB / 1.245 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/1.187, allocations: 115 kB / 1.245 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.188, allocations: 0.8683 MB / 1.246 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/1.188, allocations: 29.7 kB / 1.246 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/1.188, allocations: 379.8 kB / 1.246 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/1.188, allocations: 74.84 kB / 1.246 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/1.188, allocations: 65.64 kB / 1.247 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.188, allocations: 314 kB / 1.247 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/1.189, allocations: 103.9 kB / 1.247 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/1.189, allocations: 207.7 kB / 1.247 GB, free: 11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/1.189, allocations: 326.7 kB / 1.247 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.189, allocations: 0 / 1.247 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007135/1.19, allocations: 400.3 kB / 1.248 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.19, allocations: 10.19 kB / 1.248 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.19, allocations: 1.094 kB / 1.248 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.19, allocations: 4 kB / 1.248 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/1.191, allocations: 59.91 kB / 1.248 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.191, allocations: 12.22 kB / 1.248 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/1.191, allocations: 87.02 kB / 1.248 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/1.191, allocations: 12 kB / 1.248 GB, free: 10.07 MB / 0.9512 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.0002888/1.191, allocations: 237.6 kB / 1.248 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.192, allocations: 75.94 kB / 1.248 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/1.192, allocations: 324.9 kB / 1.249 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.192, allocations: 7.938 kB / 1.249 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.192, allocations: 4 kB / 1.249 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.192, allocations: 0 / 1.249 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/1.194, allocations: 1.373 MB / 1.25 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.194, allocations: 4 kB / 1.25 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/1.195, allocations: 43.92 kB / 1.25 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.195, allocations: 4 kB / 1.25 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/1.195, allocations: 12 kB / 1.25 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.195, allocations: 11.92 kB / 1.25 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.195, allocations: 7.938 kB / 1.25 GB, free: 7.848 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/1.195, allocations: 0.5135 MB / 1.251 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/1.196, allocations: 184.1 kB / 1.251 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/1.196, allocations: 8 kB / 1.251 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/1.196, allocations: 23.92 kB / 1.251 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/1.196, allocations: 27.86 kB / 1.251 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.196, allocations: 15.98 kB / 1.251 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000817/1.197, allocations: 0.6082 MB / 1.251 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/1.197, allocations: 3.938 kB / 1.251 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005796/1.198, allocations: 167.7 kB / 1.252 GB, free: 6.219 MB / 0.9512 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.0004334/1.198, allocations: 192.4 kB / 1.252 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005636/1.199, allocations: 260.5 kB / 1.252 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.199, allocations: 0 / 1.252 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/1.199, allocations: 129.5 kB / 1.252 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.2, allocations: 424.8 kB / 1.253 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/1.202, allocations: 1.252 MB / 1.254 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/1.203, allocations: 0.9878 MB / 1.255 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004462/1.203, allocations: 158.2 kB / 1.255 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/1.203, allocations: 47.44 kB / 1.255 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/1.203, allocations: 0 / 1.255 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of Templates: time 0.02535/1.229, allocations: 13.69 MB / 1.268 GB, free: 5.215 MB / 0.9669 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 -s cvode -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