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.001577/0.001578, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001936/0.001936, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.14 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.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8324, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2283/1.061, allocations: 194.1 MB / 1.278 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01335/1.074, allocations: 10.04 MB / 1.288 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/1.075, allocations: 31.81 kB / 1.288 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/1.077, allocations: 397 kB / 1.288 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/1.08, allocations: 1.03 MB / 1.289 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/1.083, allocations: 1.292 MB / 1.291 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002468/1.086, allocations: 1.698 MB / 1.292 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.087, allocations: 0.8277 MB / 1.293 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/1.091, allocations: 1.424 MB / 1.295 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009005/1.092, allocations: 0.5251 MB / 1.295 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001878/1.092, allocations: 64 kB / 1.295 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/1.095, allocations: 1.399 MB / 1.296 GB, free: 8.727 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000472/1.095, allocations: 355 kB / 1.297 GB, free: 8.379 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007874/1.096, allocations: 433.8 kB / 1.297 GB, free: 7.953 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/1.099, allocations: 1.515 MB / 1.299 GB, free: 6.434 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.099, allocations: 4 kB / 1.299 GB, free: 6.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/1.099, allocations: 0 / 1.299 GB, free: 6.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.619e-05/1.099, allocations: 0 / 1.299 GB, free: 6.43 MB / 1.029 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.001933/1.101, allocations: 1.146 MB / 1.3 GB, free: 5.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.101, allocations: 8.031 kB / 1.3 GB, free: 5.223 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/1.103, allocations: 294.6 kB / 1.3 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/1.104, allocations: 0.5662 MB / 1.301 GB, free: 4.328 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/1.104, allocations: 54 kB / 1.301 GB, free: 4.277 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.104, allocations: 79.98 kB / 1.301 GB, free: 4.199 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.106, allocations: 0.8908 MB / 1.302 GB, free: 3.246 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/1.106, allocations: 7.922 kB / 1.302 GB, free: 3.238 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/1.106, allocations: 35.98 kB / 1.302 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/1.106, allocations: 41.3 kB / 1.302 GB, free: 3.164 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/1.107, allocations: 0.5787 MB / 1.302 GB, free: 2.586 MB / 1.029 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.003853/1.111, allocations: 3.481 MB / 1.306 GB, free: 14.91 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/1.111, allocations: 227.6 kB / 1.306 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/1.111, allocations: 150.5 kB / 1.306 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000759/1.112, allocations: 489.4 kB / 1.307 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/1.112, allocations: 34.56 kB / 1.307 GB, free: 13.89 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 2.365e-06/1.112, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.00125/1.113, allocations: 458.7 kB / 1.307 GB, free: 13.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/1.113, allocations: 110.8 kB / 1.307 GB, free: 13.3 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.115, allocations: 0.8644 MB / 1.308 GB, free: 12.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/1.115, allocations: 29.7 kB / 1.308 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/1.115, allocations: 383.8 kB / 1.308 GB, free: 12.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/1.115, allocations: 70.95 kB / 1.308 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/1.115, allocations: 61.77 kB / 1.308 GB, free: 11.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.115, allocations: 318 kB / 1.309 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/1.115, allocations: 99.91 kB / 1.309 GB, free: 11.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/1.116, allocations: 219 kB / 1.309 GB, free: 11.21 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/1.116, allocations: 305.3 kB / 1.309 GB, free: 10.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.116, allocations: 0 / 1.309 GB, free: 10.88 MB / 1.045 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007569/1.117, allocations: 408.2 kB / 1.31 GB, free: 10.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.117, allocations: 8 kB / 1.31 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.117, allocations: 4.062 kB / 1.31 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.117, allocations: 8.344 kB / 1.31 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/1.117, allocations: 63.84 kB / 1.31 GB, free: 10.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.117, allocations: 7.984 kB / 1.31 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/1.118, allocations: 83.05 kB / 1.31 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/1.118, allocations: 12 kB / 1.31 GB, free: 10.29 MB / 1.045 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.0003045/1.118, allocations: 233.7 kB / 1.31 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.118, allocations: 79.06 kB / 1.31 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/1.119, allocations: 320.7 kB / 1.311 GB, free: 9.648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.119, allocations: 7.938 kB / 1.311 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.119, allocations: 0 / 1.311 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.119, allocations: 3.984 kB / 1.311 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/1.121, allocations: 1.373 MB / 1.312 GB, free: 8.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.121, allocations: 4 kB / 1.312 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/1.121, allocations: 43.91 kB / 1.312 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/1.121, allocations: 4 kB / 1.312 GB, free: 8.102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.121, allocations: 15.94 kB / 1.312 GB, free: 8.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/1.121, allocations: 12.41 kB / 1.312 GB, free: 8.074 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.121, allocations: 8 kB / 1.312 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/1.122, allocations: 0.5074 MB / 1.312 GB, free: 7.492 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/1.122, allocations: 184.1 kB / 1.313 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/1.122, allocations: 15.98 kB / 1.313 GB, free: 7.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/1.123, allocations: 23.86 kB / 1.313 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/1.123, allocations: 23.98 kB / 1.313 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/1.123, allocations: 11.94 kB / 1.313 GB, free: 7.219 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007674/1.124, allocations: 0.6122 MB / 1.313 GB, free: 6.609 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.645e-06/1.124, allocations: 0 / 1.313 GB, free: 6.609 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006046/1.124, allocations: 171.8 kB / 1.313 GB, free: 6.441 MB / 1.045 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.0004608/1.125, allocations: 193.5 kB / 1.314 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005844/1.125, allocations: 263.5 kB / 1.314 GB, free: 5.996 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.125, allocations: 0.6875 kB / 1.314 GB, free: 5.996 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/1.126, allocations: 135.9 kB / 1.314 GB, free: 5.863 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.128, allocations: 417.3 kB / 1.314 GB, free: 5.469 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.13, allocations: 1.302 MB / 1.316 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/1.13, allocations: 0.9881 MB / 1.317 GB, free: 3.062 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/1.13, allocations: 51.44 kB / 1.317 GB, free: 3.012 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/1.13, allocations: 4 kB / 1.317 GB, free: 3.008 MB / 1.045 GB Notification: Performance of Templates: time 0.01908/1.149, allocations: 12.08 MB / 1.329 GB, free: 7.047 MB / 1.061 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