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.001552/0.001552, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001949/0.001949, allocations: 220.4 kB / 22.99 MB, free: 4.914 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.315/3.315, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 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.002121/0.002121, allocations: 68.05 kB / 1.187 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4063, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2374/0.6437, allocations: 171.8 MB / 1.532 GB, free: 1.176 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01672/0.6604, allocations: 9.248 MB / 1.541 GB, free: 7.902 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.6617, allocations: 47.56 kB / 1.541 GB, free: 7.855 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.6631, allocations: 412.9 kB / 1.542 GB, free: 7.449 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.6666, allocations: 1.03 MB / 1.543 GB, free: 6.414 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.6706, allocations: 1.326 MB / 1.544 GB, free: 5.09 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.6733, allocations: 1.694 MB / 1.546 GB, free: 3.391 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.6746, allocations: 0.6059 MB / 1.546 GB, free: 2.762 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004709/0.6793, allocations: 1.689 MB / 1.548 GB, free: 1.066 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.6804, allocations: 0.5172 MB / 1.549 GB, free: 0.5469 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.6807, allocations: 64 kB / 1.549 GB, free: 496 kB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.6836, allocations: 1.137 MB / 1.55 GB, free: 15.34 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005557/0.6842, allocations: 358.9 kB / 1.55 GB, free: 14.99 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006978/0.6849, allocations: 358.3 kB / 1.55 GB, free: 14.64 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.6876, allocations: 1.471 MB / 1.552 GB, free: 13.16 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6876, allocations: 0 / 1.552 GB, free: 13.16 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6876, allocations: 0 / 1.552 GB, free: 13.16 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.6876, allocations: 3.938 kB / 1.552 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.00174/0.6894, allocations: 1.1 MB / 1.553 GB, free: 12.03 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6894, allocations: 8.031 kB / 1.553 GB, free: 12.02 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.6912, allocations: 291.1 kB / 1.553 GB, free: 11.73 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6923, allocations: 0.5088 MB / 1.554 GB, free: 11.2 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/0.6924, allocations: 57.98 kB / 1.554 GB, free: 11.14 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.6925, allocations: 76 kB / 1.554 GB, free: 11.06 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.694, allocations: 0.9001 MB / 1.555 GB, free: 10.11 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.694, allocations: 0 / 1.555 GB, free: 10.11 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.6941, allocations: 32 kB / 1.555 GB, free: 10.07 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.6941, allocations: 45.23 kB / 1.555 GB, free: 10.03 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.6952, allocations: 0.571 MB / 1.555 GB, free: 9.461 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.6987, allocations: 2.761 MB / 1.558 GB, free: 6.605 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.6991, allocations: 215.7 kB / 1.558 GB, free: 6.367 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.6993, allocations: 138.4 kB / 1.558 GB, free: 6.223 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/0.7, allocations: 103.9 kB / 1.558 GB, free: 6.121 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.7, allocations: 34.56 kB / 1.558 GB, free: 6.078 MB / 1.248 GB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.7, allocations: 0 / 1.558 GB, free: 6.078 MB / 1.248 GB Notification: Performance of matching and sorting (n=21): time 0.00124/0.7012, allocations: 423.4 kB / 1.559 GB, free: 5.66 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.7013, allocations: 114.7 kB / 1.559 GB, free: 5.523 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.7019, allocations: 429.8 kB / 1.559 GB, free: 5.094 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.7019, allocations: 25.7 kB / 1.559 GB, free: 5.062 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.7022, allocations: 424 kB / 1.56 GB, free: 4.645 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/0.7023, allocations: 79.42 kB / 1.56 GB, free: 4.566 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.7024, allocations: 61.66 kB / 1.56 GB, free: 4.5 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.7026, allocations: 358.8 kB / 1.56 GB, free: 4.141 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.7028, allocations: 99.92 kB / 1.56 GB, free: 4.043 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.7033, allocations: 335.6 kB / 1.561 GB, free: 3.645 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.7038, allocations: 309.5 kB / 1.561 GB, free: 3.305 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7038, allocations: 0 / 1.561 GB, free: 3.305 MB / 1.248 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006967/0.7045, allocations: 376.8 kB / 1.561 GB, free: 2.93 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7045, allocations: 4 kB / 1.561 GB, free: 2.926 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7045, allocations: 4 kB / 1.561 GB, free: 2.922 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.7045, allocations: 7.938 kB / 1.561 GB, free: 2.914 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.7049, allocations: 59.91 kB / 1.561 GB, free: 2.855 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.7049, allocations: 12.28 kB / 1.561 GB, free: 2.844 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.7052, allocations: 35.77 kB / 1.562 GB, free: 2.809 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.7052, allocations: 16 kB / 1.562 GB, free: 2.793 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.0003541/0.7056, allocations: 230.4 kB / 1.562 GB, free: 2.559 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.7057, allocations: 47.72 kB / 1.562 GB, free: 2.512 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/0.7064, allocations: 287.9 kB / 1.562 GB, free: 2.223 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.7064, allocations: 4 kB / 1.562 GB, free: 2.219 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.7064, allocations: 3.938 kB / 1.562 GB, free: 2.215 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.7064, allocations: 7.984 kB / 1.562 GB, free: 2.207 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.7085, allocations: 1.233 MB / 1.563 GB, free: 0.8828 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.7085, allocations: 8.062 kB / 1.563 GB, free: 0.875 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.7087, allocations: 43.91 kB / 1.563 GB, free: 0.832 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.7087, allocations: 4 kB / 1.563 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.7087, allocations: 12.09 kB / 1.563 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.7087, allocations: 4 kB / 1.563 GB, free: 0.8125 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.7088, allocations: 15.88 kB / 1.563 GB, free: 0.7969 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.7094, allocations: 491.4 kB / 1.564 GB, free: 256 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.7096, allocations: 63.69 kB / 1.564 GB, free: 192 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.7097, allocations: 15.94 kB / 1.564 GB, free: 176 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.7099, allocations: 11.98 kB / 1.564 GB, free: 164 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.71, allocations: 31.84 kB / 1.564 GB, free: 132 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.71, allocations: 12 kB / 1.564 GB, free: 120 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0003703/0.7104, allocations: 291.1 kB / 1.564 GB, free: 15.84 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7104, allocations: 0 / 1.564 GB, free: 15.84 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0006832/0.7111, allocations: 211.2 kB / 1.564 GB, free: 15.63 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.0004052/0.7115, allocations: 167 kB / 1.565 GB, free: 15.46 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006737/0.7121, allocations: 260.1 kB / 1.565 GB, free: 15.2 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7121, allocations: 8.188 kB / 1.565 GB, free: 15.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.7124, allocations: 123.7 kB / 1.565 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.001145/0.7136, allocations: 211.9 kB / 1.565 GB, free: 14.88 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.7158, allocations: 1.262 MB / 1.566 GB, free: 13.52 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.7162, allocations: 405 kB / 1.567 GB, free: 13.11 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.7164, allocations: 35.44 kB / 1.567 GB, free: 13.07 MB / 1.264 GB Notification: Performance of SimCode: time 7.22e-07/0.7164, allocations: 0 / 1.567 GB, free: 13.07 MB / 1.264 GB Notification: Performance of Templates: time 0.01562/0.732, allocations: 9.027 MB / 1.576 GB, free: 4.105 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/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.367330621927977]