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.001531/0.001531, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001709/0.001709, allocations: 215.7 kB / 22.25 MB, free: 5.242 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.82 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.631/3.631, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] 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.002124/0.002124, allocations: 72.16 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3933, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.226/0.6193, allocations: 171.8 MB / 1.532 GB, free: 1.168 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.6332, allocations: 9.254 MB / 1.541 GB, free: 7.891 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.6343, allocations: 43.62 kB / 1.541 GB, free: 7.848 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.6354, allocations: 405 kB / 1.541 GB, free: 7.449 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.6384, allocations: 1.034 MB / 1.542 GB, free: 6.41 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.6418, allocations: 1.319 MB / 1.543 GB, free: 5.09 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.6442, allocations: 1.694 MB / 1.545 GB, free: 3.391 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.6452, allocations: 0.6097 MB / 1.546 GB, free: 2.758 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004118/0.6493, allocations: 1.681 MB / 1.547 GB, free: 1.07 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/0.6502, allocations: 0.5249 MB / 1.548 GB, free: 0.543 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.6503, allocations: 64 kB / 1.548 GB, free: 492 kB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.6527, allocations: 1.137 MB / 1.549 GB, free: 15.34 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004168/0.6531, allocations: 358.9 kB / 1.549 GB, free: 14.99 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0004402/0.6536, allocations: 366.3 kB / 1.55 GB, free: 14.63 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.656, allocations: 1.464 MB / 1.551 GB, free: 13.16 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.656, allocations: 0 / 1.551 GB, free: 13.16 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.734e-06/0.656, allocations: 0 / 1.551 GB, free: 13.16 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.656, allocations: 4 kB / 1.551 GB, free: 13.16 MB / 1.248 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.001659/0.6577, allocations: 1.092 MB / 1.552 GB, free: 12.03 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6577, allocations: 12.03 kB / 1.552 GB, free: 12.02 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.6595, allocations: 303 kB / 1.552 GB, free: 11.72 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6606, allocations: 0.5088 MB / 1.553 GB, free: 11.18 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.6607, allocations: 57.98 kB / 1.553 GB, free: 11.12 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6608, allocations: 72 kB / 1.553 GB, free: 11.05 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.6622, allocations: 0.8947 MB / 1.554 GB, free: 10.1 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6623, allocations: 8 kB / 1.554 GB, free: 10.09 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.6623, allocations: 32 kB / 1.554 GB, free: 10.06 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.6624, allocations: 45.23 kB / 1.554 GB, free: 10.02 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.6634, allocations: 0.571 MB / 1.555 GB, free: 9.449 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.667, allocations: 2.757 MB / 1.557 GB, free: 6.598 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.6674, allocations: 213.4 kB / 1.557 GB, free: 6.363 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.6677, allocations: 138.5 kB / 1.558 GB, free: 6.219 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/0.6683, allocations: 103.9 kB / 1.558 GB, free: 6.117 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6683, allocations: 42.5 kB / 1.558 GB, free: 6.066 MB / 1.248 GB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.6683, allocations: 0 / 1.558 GB, free: 6.066 MB / 1.248 GB Notification: Performance of matching and sorting (n=21): time 0.001244/0.6696, allocations: 419.4 kB / 1.558 GB, free: 5.652 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.039e-05/0.6696, allocations: 106.8 kB / 1.558 GB, free: 5.523 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.6702, allocations: 429.8 kB / 1.559 GB, free: 5.094 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.6702, allocations: 25.7 kB / 1.559 GB, free: 5.062 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.6706, allocations: 424 kB / 1.559 GB, free: 4.645 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6707, allocations: 79.44 kB / 1.559 GB, free: 4.566 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.6709, allocations: 65.59 kB / 1.559 GB, free: 4.496 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.6711, allocations: 354.8 kB / 1.56 GB, free: 4.141 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.6715, allocations: 99.92 kB / 1.56 GB, free: 4.043 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006117/0.6721, allocations: 335.6 kB / 1.56 GB, free: 3.645 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/0.6729, allocations: 306.8 kB / 1.56 GB, free: 3.305 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.6729, allocations: 0 / 1.56 GB, free: 3.305 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000794/0.6737, allocations: 375.1 kB / 1.561 GB, free: 2.934 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6737, allocations: 11.94 kB / 1.561 GB, free: 2.922 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6737, allocations: 0 / 1.561 GB, free: 2.922 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.6738, allocations: 8 kB / 1.561 GB, free: 2.914 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.6741, allocations: 55.91 kB / 1.561 GB, free: 2.859 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.6741, allocations: 12.22 kB / 1.561 GB, free: 2.848 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.6744, allocations: 39.77 kB / 1.561 GB, free: 2.809 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.6745, allocations: 23.98 kB / 1.561 GB, free: 2.785 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.0003373/0.6748, allocations: 221.7 kB / 1.561 GB, free: 2.559 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6749, allocations: 51.7 kB / 1.561 GB, free: 2.508 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/0.6756, allocations: 285.5 kB / 1.561 GB, free: 2.219 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.6756, allocations: 4 kB / 1.561 GB, free: 2.215 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.6756, allocations: 3.938 kB / 1.561 GB, free: 2.211 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6756, allocations: 8 kB / 1.561 GB, free: 2.203 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.6777, allocations: 1.237 MB / 1.563 GB, free: 0.875 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6777, allocations: 7.938 kB / 1.563 GB, free: 0.8672 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.6779, allocations: 39.92 kB / 1.563 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.6779, allocations: 8 kB / 1.563 GB, free: 0.8203 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.6779, allocations: 8 kB / 1.563 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.6779, allocations: 11.98 kB / 1.563 GB, free: 0.8008 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.6779, allocations: 11.97 kB / 1.563 GB, free: 0.7891 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/0.6786, allocations: 495.2 kB / 1.563 GB, free: 244 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.6788, allocations: 59.7 kB / 1.563 GB, free: 184 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.6789, allocations: 11.98 kB / 1.563 GB, free: 172 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.6791, allocations: 15.98 kB / 1.563 GB, free: 156 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.6792, allocations: 23.86 kB / 1.563 GB, free: 132 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.6792, allocations: 19.98 kB / 1.563 GB, free: 112 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0003792/0.6796, allocations: 287.1 kB / 1.563 GB, free: 15.83 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.6796, allocations: 4 kB / 1.563 GB, free: 15.83 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007051/0.6803, allocations: 207.2 kB / 1.564 GB, free: 15.62 MB / 1.264 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.0003309/0.6806, allocations: 163.1 kB / 1.564 GB, free: 15.46 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006268/0.6813, allocations: 264.2 kB / 1.564 GB, free: 15.2 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6813, allocations: 4.062 kB / 1.564 GB, free: 15.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.6815, allocations: 127.7 kB / 1.564 GB, free: 15.07 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.6827, allocations: 213.7 kB / 1.564 GB, free: 14.87 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.6847, allocations: 1.207 MB / 1.566 GB, free: 13.58 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.6852, allocations: 409 kB / 1.566 GB, free: 13.16 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0003761/0.6855, allocations: 99.28 kB / 1.566 GB, free: 13.06 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6856, allocations: 31.44 kB / 1.566 GB, free: 13.03 MB / 1.264 GB Notification: Performance of SimCode: time 7.31e-07/0.6856, allocations: 0 / 1.566 GB, free: 13.03 MB / 1.264 GB Notification: Performance of Templates: time 0.01819/0.7038, allocations: 8.704 MB / 1.575 GB, free: 4.52 MB / 1.264 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/jenkins/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: 10.08327279612422]