Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002003/0.002003, allocations: 110 kB / 16.45 MB, free: 6.453 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.002321/0.002321, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.309/3.309, allocations: 0.49 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002108/0.002108, allocations: 77.67 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2502/0.6128, allocations: 197.8 MB / 1.514 GB, free: 12.32 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.6273, allocations: 10.11 MB / 1.524 GB, free: 2.188 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.6285, allocations: 43.62 kB / 1.524 GB, free: 2.145 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.6297, allocations: 397 kB / 1.525 GB, free: 1.754 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.6329, allocations: 1.073 MB / 1.526 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.6365, allocations: 1.32 MB / 1.527 GB, free: 15.36 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002705/0.6392, allocations: 1.675 MB / 1.529 GB, free: 13.67 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.6404, allocations: 0.6833 MB / 1.529 GB, free: 12.96 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004714/0.6452, allocations: 1.693 MB / 1.531 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.6462, allocations: 0.5484 MB / 1.532 GB, free: 10.71 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.6463, allocations: 64 kB / 1.532 GB, free: 10.65 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.6498, allocations: 1.481 MB / 1.533 GB, free: 9.168 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004151/0.6503, allocations: 354.9 kB / 1.533 GB, free: 8.82 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000609/0.6509, allocations: 445.7 kB / 1.534 GB, free: 8.383 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.6535, allocations: 1.506 MB / 1.535 GB, free: 6.871 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6535, allocations: 0 / 1.535 GB, free: 6.871 MB / 1.232 GB Notification: Performance of FrontEnd: time 4.92e-06/0.6535, allocations: 8 kB / 1.535 GB, free: 6.863 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.6535, allocations: 0 / 1.535 GB, free: 6.863 MB / 1.232 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.001889/0.6554, allocations: 1.171 MB / 1.536 GB, free: 5.641 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.6555, allocations: 11.98 kB / 1.536 GB, free: 5.629 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.6574, allocations: 299.1 kB / 1.537 GB, free: 5.336 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.6586, allocations: 0.5745 MB / 1.537 GB, free: 4.719 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.6587, allocations: 54 kB / 1.537 GB, free: 4.664 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.6588, allocations: 75.98 kB / 1.537 GB, free: 4.59 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6604, allocations: 0.9025 MB / 1.538 GB, free: 3.629 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.6604, allocations: 0 / 1.538 GB, free: 3.629 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.6605, allocations: 31.98 kB / 1.538 GB, free: 3.598 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/0.6605, allocations: 45.3 kB / 1.538 GB, free: 3.555 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.6617, allocations: 0.5826 MB / 1.539 GB, free: 2.973 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004279/0.6659, allocations: 3.491 MB / 1.542 GB, free: 15.29 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.6664, allocations: 219.7 kB / 1.543 GB, free: 15.05 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.6667, allocations: 136.4 kB / 1.543 GB, free: 14.91 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008724/0.6675, allocations: 493.4 kB / 1.543 GB, free: 14.34 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.6676, allocations: 42.5 kB / 1.543 GB, free: 14.29 MB / 1.248 GB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.6676, allocations: 0 / 1.543 GB, free: 14.29 MB / 1.248 GB Notification: Performance of matching and sorting (n=21): time 0.001387/0.669, allocations: 453.4 kB / 1.544 GB, free: 13.84 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.669, allocations: 114.7 kB / 1.544 GB, free: 13.7 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.6703, allocations: 0.8567 MB / 1.545 GB, free: 12.83 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.6703, allocations: 33.7 kB / 1.545 GB, free: 12.79 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.6706, allocations: 388.2 kB / 1.545 GB, free: 12.41 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-05/0.6707, allocations: 71.38 kB / 1.545 GB, free: 12.34 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.6709, allocations: 65.66 kB / 1.545 GB, free: 12.27 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.671, allocations: 318 kB / 1.545 GB, free: 11.95 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.6713, allocations: 103.9 kB / 1.545 GB, free: 11.85 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.6716, allocations: 207.6 kB / 1.546 GB, free: 11.61 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.6722, allocations: 310.8 kB / 1.546 GB, free: 11.26 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6722, allocations: 0 / 1.546 GB, free: 11.26 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008397/0.673, allocations: 406.4 kB / 1.546 GB, free: 10.86 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6731, allocations: 4 kB / 1.546 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6731, allocations: 4 kB / 1.546 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.6731, allocations: 4 kB / 1.546 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.6734, allocations: 72.19 kB / 1.546 GB, free: 10.78 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.6734, allocations: 7.938 kB / 1.546 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.6739, allocations: 83.28 kB / 1.547 GB, free: 10.69 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.674, allocations: 12 kB / 1.547 GB, free: 10.68 MB / 1.248 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.0003136/0.6743, allocations: 230.2 kB / 1.547 GB, free: 10.44 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.6744, allocations: 83.42 kB / 1.547 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007284/0.6752, allocations: 330.2 kB / 1.547 GB, free: 10.03 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6752, allocations: 7.938 kB / 1.547 GB, free: 10.02 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6752, allocations: 0 / 1.547 GB, free: 10.02 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6752, allocations: 0 / 1.547 GB, free: 10.02 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.6776, allocations: 1.377 MB / 1.549 GB, free: 8.535 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.6776, allocations: 8.062 kB / 1.549 GB, free: 8.527 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.6778, allocations: 43.92 kB / 1.549 GB, free: 8.484 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.6778, allocations: 4 kB / 1.549 GB, free: 8.48 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.6778, allocations: 19.92 kB / 1.549 GB, free: 8.461 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.6779, allocations: 4 kB / 1.549 GB, free: 8.457 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.6779, allocations: 8.438 kB / 1.549 GB, free: 8.449 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007968/0.6787, allocations: 0.5152 MB / 1.549 GB, free: 7.867 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.679, allocations: 192.5 kB / 1.549 GB, free: 7.66 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.6791, allocations: 4 kB / 1.549 GB, free: 7.656 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.6794, allocations: 23.92 kB / 1.549 GB, free: 7.633 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.6795, allocations: 27.91 kB / 1.549 GB, free: 7.605 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.6796, allocations: 15.94 kB / 1.549 GB, free: 7.59 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008828/0.6804, allocations: 0.6083 MB / 1.55 GB, free: 6.988 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6804, allocations: 0 / 1.55 GB, free: 6.988 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006973/0.6811, allocations: 167.7 kB / 1.55 GB, free: 6.824 MB / 1.248 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.000369/0.6815, allocations: 175.1 kB / 1.55 GB, free: 6.645 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.6822, allocations: 255.5 kB / 1.551 GB, free: 6.395 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.6822, allocations: 4 kB / 1.551 GB, free: 6.391 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.6825, allocations: 121.5 kB / 1.551 GB, free: 6.273 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.6846, allocations: 424.4 kB / 1.551 GB, free: 5.859 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6868, allocations: 1.27 MB / 1.552 GB, free: 4.504 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.6876, allocations: 0.9878 MB / 1.553 GB, free: 3.488 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005589/0.6882, allocations: 158.2 kB / 1.553 GB, free: 3.332 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.6883, allocations: 51.44 kB / 1.553 GB, free: 3.285 MB / 1.248 GB Notification: Performance of SimCode: time 7.01e-07/0.6883, allocations: 3.938 kB / 1.553 GB, free: 3.281 MB / 1.248 GB Notification: Performance of Templates: time 0.02928/0.7176, allocations: 13.87 MB / 1.567 GB, free: 5.625 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.763705783057958]