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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 109 kB / 17.08 MB, free: 5.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 195.6 kB / 20.03 MB, free: 2.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 75.83 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9027, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2398/1.143, allocations: 194.2 MB / 1.452 GB, free: 5.512 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01469/1.157, allocations: 10.05 MB / 1.462 GB, free: 11.83 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/1.159, allocations: 27.81 kB / 1.462 GB, free: 11.8 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/1.16, allocations: 397 kB / 1.462 GB, free: 11.41 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003723/1.164, allocations: 1.011 MB / 1.463 GB, free: 10.39 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003866/1.168, allocations: 1.297 MB / 1.465 GB, free: 9.098 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002924/1.171, allocations: 1.678 MB / 1.466 GB, free: 7.41 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/1.173, allocations: 0.8353 MB / 1.467 GB, free: 6.547 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004466/1.177, allocations: 1.631 MB / 1.469 GB, free: 4.91 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/1.178, allocations: 0.5134 MB / 1.469 GB, free: 4.395 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/1.178, allocations: 60 kB / 1.469 GB, free: 4.336 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/1.182, allocations: 1.399 MB / 1.471 GB, free: 2.934 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005402/1.182, allocations: 343 kB / 1.471 GB, free: 2.598 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008596/1.183, allocations: 437.8 kB / 1.471 GB, free: 2.168 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/1.186, allocations: 1.521 MB / 1.473 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.186, allocations: 0 / 1.473 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.834e-06/1.186, allocations: 0 / 1.473 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.091e-05/1.187, allocations: 7.938 kB / 1.473 GB, free: 0.6367 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.002116/1.189, allocations: 1.162 MB / 1.474 GB, free: 15.43 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.189, allocations: 8.031 kB / 1.474 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/1.191, allocations: 295.1 kB / 1.474 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/1.192, allocations: 0.5783 MB / 1.475 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/1.192, allocations: 58 kB / 1.475 GB, free: 14.45 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/1.192, allocations: 71.98 kB / 1.475 GB, free: 14.38 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/1.193, allocations: 0.8986 MB / 1.476 GB, free: 13.42 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/1.193, allocations: 4 kB / 1.476 GB, free: 13.42 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/1.193, allocations: 35.97 kB / 1.476 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/1.194, allocations: 45.23 kB / 1.476 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.195, allocations: 0.5671 MB / 1.476 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/1.199, allocations: 3.491 MB / 1.48 GB, free: 9.094 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/1.199, allocations: 231.6 kB / 1.48 GB, free: 8.84 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/1.199, allocations: 154.4 kB / 1.48 GB, free: 8.68 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008121/1.2, allocations: 485.4 kB / 1.481 GB, free: 8.113 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.2, allocations: 42.55 kB / 1.481 GB, free: 8.062 MB / 1.17 GB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/1.2, allocations: 0 / 1.481 GB, free: 8.062 MB / 1.17 GB Notification: Performance of matching and sorting (n=21): time 0.001305/1.202, allocations: 455.9 kB / 1.481 GB, free: 7.613 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/1.202, allocations: 110.7 kB / 1.481 GB, free: 7.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/1.203, allocations: 0.8683 MB / 1.482 GB, free: 6.602 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/1.203, allocations: 33.7 kB / 1.482 GB, free: 6.562 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/1.203, allocations: 384.2 kB / 1.483 GB, free: 6.184 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/1.203, allocations: 87.38 kB / 1.483 GB, free: 6.098 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/1.203, allocations: 57.66 kB / 1.483 GB, free: 6.035 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.204, allocations: 318 kB / 1.483 GB, free: 5.719 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/1.204, allocations: 107.9 kB / 1.483 GB, free: 5.613 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/1.204, allocations: 211 kB / 1.483 GB, free: 5.367 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/1.205, allocations: 316.6 kB / 1.484 GB, free: 5.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.205, allocations: 0 / 1.484 GB, free: 5.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007824/1.205, allocations: 396.7 kB / 1.484 GB, free: 4.625 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.206, allocations: 5.875 kB / 1.484 GB, free: 4.621 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.206, allocations: 4.344 kB / 1.484 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/1.206, allocations: 15.92 kB / 1.484 GB, free: 4.602 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/1.206, allocations: 63.86 kB / 1.484 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.206, allocations: 7.984 kB / 1.484 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/1.206, allocations: 79.45 kB / 1.484 GB, free: 4.453 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/1.206, allocations: 16 kB / 1.484 GB, free: 4.438 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.0002872/1.207, allocations: 229.6 kB / 1.484 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/1.207, allocations: 87.44 kB / 1.484 GB, free: 4.117 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/1.208, allocations: 324.7 kB / 1.485 GB, free: 3.793 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.208, allocations: 3.938 kB / 1.485 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.208, allocations: 7.938 kB / 1.485 GB, free: 3.781 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.208, allocations: 3.984 kB / 1.485 GB, free: 3.777 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/1.21, allocations: 1.358 MB / 1.486 GB, free: 2.309 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.21, allocations: 4 kB / 1.486 GB, free: 2.305 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.21, allocations: 43.91 kB / 1.486 GB, free: 2.262 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.21, allocations: 8.531 kB / 1.486 GB, free: 2.254 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/1.21, allocations: 11.94 kB / 1.486 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/1.21, allocations: 15.94 kB / 1.486 GB, free: 2.227 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.21, allocations: 7.938 kB / 1.486 GB, free: 2.219 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/1.211, allocations: 0.5108 MB / 1.487 GB, free: 1.641 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/1.211, allocations: 200.4 kB / 1.487 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.211, allocations: 4 kB / 1.487 GB, free: 1.422 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.211, allocations: 19.92 kB / 1.487 GB, free: 1.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/1.212, allocations: 27.92 kB / 1.487 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/1.212, allocations: 11.94 kB / 1.487 GB, free: 1.363 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008376/1.212, allocations: 0.6161 MB / 1.488 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.212, allocations: 0 / 1.488 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006381/1.213, allocations: 155.8 kB / 1.488 GB, free: 0.6016 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.0005019/1.214, allocations: 192.6 kB / 1.488 GB, free: 420 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006331/1.214, allocations: 258.6 kB / 1.488 GB, free: 164 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.214, allocations: 4.125 kB / 1.488 GB, free: 160 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/1.214, allocations: 135.7 kB / 1.488 GB, free: 24 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/1.216, allocations: 436.6 kB / 1.489 GB, free: 15.6 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/1.219, allocations: 1.318 MB / 1.49 GB, free: 14.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/1.219, allocations: 0.9993 MB / 1.491 GB, free: 13.17 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/1.219, allocations: 51.44 kB / 1.491 GB, free: 13.12 MB / 1.186 GB Notification: Performance of SimCode: time 4.11e-07/1.219, allocations: 4 kB / 1.491 GB, free: 13.12 MB / 1.186 GB Notification: Performance of Templates: time 0.0209/1.24, allocations: 12.06 MB / 1.503 GB, free: 1.164 MB / 1.186 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_2/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.747889342019334]