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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008359/0.008359, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001807/0.001807, allocations: 192 kB / 16.67 MB, free: 5.973 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.6 MB / 0.7453 GB, free: 492 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.91 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9796/0.9809, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2148/1.196, allocations: 194.1 MB / 1.415 GB, free: 10.62 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01198/1.208, allocations: 10.04 MB / 1.425 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/1.209, allocations: 27.81 kB / 1.425 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/1.21, allocations: 397 kB / 1.425 GB, free: 140 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/1.213, allocations: 1.026 MB / 1.426 GB, free: 15.11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/1.216, allocations: 1.297 MB / 1.428 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002117/1.219, allocations: 1.69 MB / 1.429 GB, free: 12.11 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/1.22, allocations: 0.8445 MB / 1.43 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/1.223, allocations: 1.42 MB / 1.431 GB, free: 9.82 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006178/1.224, allocations: 0.529 MB / 1.432 GB, free: 9.289 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 9.842e-05/1.224, allocations: 60 kB / 1.432 GB, free: 9.23 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/1.226, allocations: 1.411 MB / 1.433 GB, free: 7.816 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/1.227, allocations: 347.1 kB / 1.434 GB, free: 7.477 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004227/1.227, allocations: 429.7 kB / 1.434 GB, free: 7.055 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/1.229, allocations: 1.518 MB / 1.436 GB, free: 5.535 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.229, allocations: 0 / 1.436 GB, free: 5.535 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/1.229, allocations: 0 / 1.436 GB, free: 5.535 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.131e-05/1.229, allocations: 4 kB / 1.436 GB, free: 5.531 MB / 1.154 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.001522/1.231, allocations: 1.171 MB / 1.437 GB, free: 4.309 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.231, allocations: 8.031 kB / 1.437 GB, free: 4.301 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/1.233, allocations: 303.1 kB / 1.437 GB, free: 4.004 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/1.234, allocations: 0.5782 MB / 1.438 GB, free: 3.383 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/1.234, allocations: 57.98 kB / 1.438 GB, free: 3.324 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/1.234, allocations: 76 kB / 1.438 GB, free: 3.25 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.235, allocations: 0.8986 MB / 1.439 GB, free: 2.293 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.235, allocations: 0 / 1.439 GB, free: 2.293 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/1.235, allocations: 28 kB / 1.439 GB, free: 2.266 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/1.235, allocations: 45.3 kB / 1.439 GB, free: 2.223 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009846/1.236, allocations: 0.5748 MB / 1.439 GB, free: 1.648 MB / 1.154 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.003402/1.24, allocations: 3.506 MB / 1.443 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/1.24, allocations: 219.7 kB / 1.443 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/1.24, allocations: 146.5 kB / 1.443 GB, free: 13.56 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/1.241, allocations: 489.4 kB / 1.444 GB, free: 12.99 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/1.241, allocations: 42.5 kB / 1.444 GB, free: 12.94 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/1.241, allocations: 0 / 1.444 GB, free: 12.94 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.001147/1.242, allocations: 453.4 kB / 1.444 GB, free: 12.49 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/1.242, allocations: 110.8 kB / 1.444 GB, free: 12.36 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009758/1.243, allocations: 0.8683 MB / 1.445 GB, free: 11.48 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/1.243, allocations: 29.7 kB / 1.445 GB, free: 11.44 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/1.243, allocations: 384.2 kB / 1.445 GB, free: 11.06 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/1.244, allocations: 83.3 kB / 1.445 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.244, allocations: 61.64 kB / 1.446 GB, free: 10.91 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.244, allocations: 318 kB / 1.446 GB, free: 10.6 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/1.244, allocations: 103.9 kB / 1.446 GB, free: 10.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/1.244, allocations: 207 kB / 1.446 GB, free: 10.25 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/1.245, allocations: 312.7 kB / 1.446 GB, free: 9.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.245, allocations: 0 / 1.446 GB, free: 9.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006776/1.246, allocations: 406.7 kB / 1.447 GB, free: 9.508 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.246, allocations: 8 kB / 1.447 GB, free: 9.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/1.246, allocations: 0 / 1.447 GB, free: 9.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.246, allocations: 4 kB / 1.447 GB, free: 9.496 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/1.246, allocations: 68.19 kB / 1.447 GB, free: 9.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.246, allocations: 11.94 kB / 1.447 GB, free: 9.418 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/1.246, allocations: 79.34 kB / 1.447 GB, free: 9.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/1.246, allocations: 12 kB / 1.447 GB, free: 9.328 MB / 1.17 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.000256/1.247, allocations: 237.6 kB / 1.447 GB, free: 9.086 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/1.247, allocations: 83.48 kB / 1.447 GB, free: 9.004 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/1.247, allocations: 322 kB / 1.448 GB, free: 8.68 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.247, allocations: 11.94 kB / 1.448 GB, free: 8.668 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.247, allocations: 0 / 1.448 GB, free: 8.668 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.247, allocations: 0 / 1.448 GB, free: 8.668 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.249, allocations: 1.369 MB / 1.449 GB, free: 7.188 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.249, allocations: 4 kB / 1.449 GB, free: 7.184 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/1.25, allocations: 51.92 kB / 1.449 GB, free: 7.133 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/1.25, allocations: 4 kB / 1.449 GB, free: 7.129 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/1.25, allocations: 15.94 kB / 1.449 GB, free: 7.113 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.25, allocations: 7.984 kB / 1.449 GB, free: 7.105 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.25, allocations: 4.406 kB / 1.449 GB, free: 7.102 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/1.25, allocations: 0.5208 MB / 1.45 GB, free: 6.512 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/1.25, allocations: 188.5 kB / 1.45 GB, free: 6.309 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/1.251, allocations: 4 kB / 1.45 GB, free: 6.305 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/1.251, allocations: 23.92 kB / 1.45 GB, free: 6.281 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/1.251, allocations: 23.92 kB / 1.45 GB, free: 6.258 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/1.251, allocations: 19.92 kB / 1.45 GB, free: 6.238 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007167/1.252, allocations: 0.6083 MB / 1.45 GB, free: 5.637 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.01e-07/1.252, allocations: 3.938 kB / 1.45 GB, free: 5.633 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006027/1.252, allocations: 163.8 kB / 1.451 GB, free: 5.473 MB / 1.17 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.0004941/1.253, allocations: 194.5 kB / 1.451 GB, free: 5.281 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006043/1.253, allocations: 261.3 kB / 1.451 GB, free: 5.027 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.253, allocations: 0 / 1.451 GB, free: 5.027 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/1.254, allocations: 133.2 kB / 1.451 GB, free: 4.898 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.256, allocations: 426.3 kB / 1.452 GB, free: 4.484 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/1.257, allocations: 1.264 MB / 1.453 GB, free: 3.133 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/1.258, allocations: 0.9916 MB / 1.454 GB, free: 2.113 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005073/1.259, allocations: 162.2 kB / 1.454 GB, free: 1.953 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.259, allocations: 51.44 kB / 1.454 GB, free: 1.906 MB / 1.17 GB Notification: Performance of SimCode: time 5.01e-07/1.259, allocations: 0 / 1.454 GB, free: 1.906 MB / 1.17 GB Notification: Performance of Templates: time 0.02809/1.287, allocations: 13.76 MB / 1.467 GB, free: 4.348 MB / 1.186 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/jenkins/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