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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 217.7 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.025/3.025, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 65.05 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.325, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2205/0.5455, allocations: 198.2 MB / 1.548 GB, free: 1.027 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.5579, allocations: 10.18 MB / 1.558 GB, free: 6.824 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.5588, allocations: 47.56 kB / 1.558 GB, free: 6.777 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.0009887/0.5598, allocations: 401 kB / 1.558 GB, free: 6.383 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.5623, allocations: 1.073 MB / 1.559 GB, free: 5.305 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.5654, allocations: 1.381 MB / 1.56 GB, free: 3.922 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002164/0.5675, allocations: 1.701 MB / 1.562 GB, free: 2.215 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009534/0.5685, allocations: 0.6136 MB / 1.563 GB, free: 1.578 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/0.5721, allocations: 1.728 MB / 1.564 GB, free: 15.84 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007283/0.5729, allocations: 0.5484 MB / 1.565 GB, free: 15.29 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 9.346e-05/0.573, allocations: 60 kB / 1.565 GB, free: 15.23 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.5756, allocations: 1.508 MB / 1.566 GB, free: 13.72 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.576, allocations: 358.9 kB / 1.567 GB, free: 13.37 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0004503/0.5764, allocations: 433.8 kB / 1.567 GB, free: 12.95 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.5785, allocations: 1.518 MB / 1.569 GB, free: 11.42 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5785, allocations: 0 / 1.569 GB, free: 11.42 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5785, allocations: 0 / 1.569 GB, free: 11.42 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.5785, allocations: 0 / 1.569 GB, free: 11.42 MB / 1.264 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.001573/0.5801, allocations: 1.092 MB / 1.57 GB, free: 10.3 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5801, allocations: 12.03 kB / 1.57 GB, free: 10.29 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.5818, allocations: 299.1 kB / 1.57 GB, free: 9.992 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.5828, allocations: 0.4971 MB / 1.57 GB, free: 9.465 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.5828, allocations: 65.98 kB / 1.571 GB, free: 9.398 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.5829, allocations: 68 kB / 1.571 GB, free: 9.332 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.5843, allocations: 0.9025 MB / 1.571 GB, free: 8.371 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.5843, allocations: 3.938 kB / 1.571 GB, free: 8.367 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.5843, allocations: 28 kB / 1.572 GB, free: 8.34 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/0.5844, allocations: 41.3 kB / 1.572 GB, free: 8.301 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.5854, allocations: 0.5787 MB / 1.572 GB, free: 7.719 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.589, allocations: 3.435 MB / 1.575 GB, free: 4.102 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.5894, allocations: 211.7 kB / 1.576 GB, free: 3.867 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.5896, allocations: 138.5 kB / 1.576 GB, free: 3.723 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.5902, allocations: 108 kB / 1.576 GB, free: 3.617 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5902, allocations: 38.55 kB / 1.576 GB, free: 3.57 MB / 1.264 GB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.5902, allocations: 0 / 1.576 GB, free: 3.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=21): time 0.001167/0.5914, allocations: 447.2 kB / 1.576 GB, free: 3.129 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.5915, allocations: 122.7 kB / 1.577 GB, free: 2.984 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5925, allocations: 0.8683 MB / 1.577 GB, free: 2.102 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.5926, allocations: 29.7 kB / 1.577 GB, free: 2.066 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.5929, allocations: 388.2 kB / 1.578 GB, free: 1.684 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.5929, allocations: 75.33 kB / 1.578 GB, free: 1.609 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.593, allocations: 61.69 kB / 1.578 GB, free: 1.543 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5932, allocations: 314 kB / 1.578 GB, free: 1.23 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.5934, allocations: 107.9 kB / 1.578 GB, free: 1.125 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.5937, allocations: 203.1 kB / 1.578 GB, free: 0.8867 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.5942, allocations: 316.9 kB / 1.579 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5942, allocations: 0 / 1.579 GB, free: 0.5391 MB / 1.264 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006795/0.5949, allocations: 410.5 kB / 1.579 GB, free: 136 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5949, allocations: 8 kB / 1.579 GB, free: 128 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5949, allocations: 3.938 kB / 1.579 GB, free: 124 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5949, allocations: 4 kB / 1.579 GB, free: 120 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.5952, allocations: 67.84 kB / 1.579 GB, free: 52 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5952, allocations: 4.344 kB / 1.579 GB, free: 48 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.5956, allocations: 83.5 kB / 1.579 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.5957, allocations: 16 kB / 1.579 GB, free: 15.95 MB / 1.279 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.0002683/0.5959, allocations: 238.2 kB / 1.58 GB, free: 15.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5961, allocations: 83.48 kB / 1.58 GB, free: 15.62 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/0.5967, allocations: 322.4 kB / 1.58 GB, free: 15.3 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5967, allocations: 11.92 kB / 1.58 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5967, allocations: 4 kB / 1.58 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5967, allocations: 3.938 kB / 1.58 GB, free: 15.28 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.5987, allocations: 1.341 MB / 1.581 GB, free: 13.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.5987, allocations: 4 kB / 1.581 GB, free: 13.83 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.5989, allocations: 47.91 kB / 1.581 GB, free: 13.79 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.5989, allocations: 4.094 kB / 1.581 GB, free: 13.78 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.5989, allocations: 11.94 kB / 1.581 GB, free: 13.77 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.5989, allocations: 7.938 kB / 1.581 GB, free: 13.76 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.5989, allocations: 11.98 kB / 1.581 GB, free: 13.75 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.5996, allocations: 0.5134 MB / 1.582 GB, free: 13.17 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.5998, allocations: 111.4 kB / 1.582 GB, free: 13.06 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.5999, allocations: 12 kB / 1.582 GB, free: 13.05 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.6002, allocations: 15.92 kB / 1.582 GB, free: 13.03 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.6003, allocations: 27.91 kB / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.6003, allocations: 19.94 kB / 1.582 GB, free: 12.98 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007592/0.6011, allocations: 0.6083 MB / 1.583 GB, free: 12.38 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6011, allocations: 4 kB / 1.583 GB, free: 12.38 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0005574/0.6017, allocations: 163.8 kB / 1.583 GB, free: 12.22 MB / 1.279 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.0002754/0.6019, allocations: 167 kB / 1.583 GB, free: 12.04 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.6025, allocations: 257.1 kB / 1.583 GB, free: 11.79 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6025, allocations: 0 / 1.583 GB, free: 11.79 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.6027, allocations: 133 kB / 1.583 GB, free: 11.66 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.6044, allocations: 425.4 kB / 1.584 GB, free: 11.25 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.6062, allocations: 1.324 MB / 1.585 GB, free: 9.84 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.6068, allocations: 0.9878 MB / 1.586 GB, free: 8.824 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.607, allocations: 59.42 kB / 1.586 GB, free: 8.766 MB / 1.279 GB Notification: Performance of SimCode: time 4.01e-07/0.607, allocations: 0 / 1.586 GB, free: 8.766 MB / 1.279 GB Notification: Performance of Templates: time 0.01703/0.624, allocations: 12.1 MB / 1.598 GB, free: 12.77 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.366627448995132]