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.001667/0.001667, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002225/0.002225, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.002106/0.002106, allocations: 72.22 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4236, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2246/0.6482, allocations: 171.8 MB / 1.495 GB, free: 4.625 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.6616, allocations: 9.254 MB / 1.504 GB, free: 11.35 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.6628, allocations: 43.56 kB / 1.504 GB, free: 11.3 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.6641, allocations: 405 kB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.667, allocations: 1.038 MB / 1.505 GB, free: 9.863 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.6705, allocations: 1.34 MB / 1.507 GB, free: 8.523 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.6728, allocations: 1.705 MB / 1.508 GB, free: 6.809 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.6738, allocations: 0.6059 MB / 1.509 GB, free: 6.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003895/0.6777, allocations: 1.689 MB / 1.511 GB, free: 4.484 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008429/0.6785, allocations: 0.5485 MB / 1.511 GB, free: 3.934 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.6786, allocations: 64 kB / 1.511 GB, free: 3.871 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.6811, allocations: 1.157 MB / 1.512 GB, free: 2.711 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.6816, allocations: 354.9 kB / 1.513 GB, free: 2.363 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.682, allocations: 358.3 kB / 1.513 GB, free: 2.012 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.6844, allocations: 1.471 MB / 1.514 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6844, allocations: 0 / 1.514 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6844, allocations: 0 / 1.514 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.6844, allocations: 0 / 1.514 GB, free: 0.5352 MB / 1.201 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.001669/0.6861, allocations: 1.102 MB / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.6861, allocations: 12.03 kB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.6879, allocations: 299.1 kB / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.689, allocations: 0.501 MB / 1.516 GB, free: 14.57 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.6891, allocations: 54 kB / 1.516 GB, free: 14.51 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6892, allocations: 79.98 kB / 1.516 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6908, allocations: 0.8986 MB / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.6908, allocations: 0 / 1.517 GB, free: 13.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.459e-05/0.6909, allocations: 35.98 kB / 1.517 GB, free: 13.44 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.52e-05/0.6909, allocations: 37.3 kB / 1.517 GB, free: 13.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.692, allocations: 0.5787 MB / 1.518 GB, free: 12.82 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.6956, allocations: 2.757 MB / 1.521 GB, free: 9.973 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.696, allocations: 211.7 kB / 1.521 GB, free: 9.738 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002679/0.6963, allocations: 138.5 kB / 1.521 GB, free: 9.594 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006743/0.6969, allocations: 103.9 kB / 1.521 GB, free: 9.492 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.697, allocations: 42.5 kB / 1.521 GB, free: 9.441 MB / 1.217 GB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.697, allocations: 0 / 1.521 GB, free: 9.441 MB / 1.217 GB Notification: Performance of matching and sorting (n=21): time 0.001293/0.6983, allocations: 418.6 kB / 1.521 GB, free: 9.027 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.6984, allocations: 102.8 kB / 1.522 GB, free: 8.902 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.6989, allocations: 430 kB / 1.522 GB, free: 8.469 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.6989, allocations: 33.7 kB / 1.522 GB, free: 8.43 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.6993, allocations: 427.9 kB / 1.522 GB, free: 8.008 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.299e-05/0.6993, allocations: 71.39 kB / 1.522 GB, free: 7.938 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.6995, allocations: 57.7 kB / 1.523 GB, free: 7.875 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.6996, allocations: 358.8 kB / 1.523 GB, free: 7.516 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.6999, allocations: 95.92 kB / 1.523 GB, free: 7.422 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.7003, allocations: 343.5 kB / 1.523 GB, free: 7.016 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.7008, allocations: 317.3 kB / 1.524 GB, free: 6.668 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7008, allocations: 0 / 1.524 GB, free: 6.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007411/0.7016, allocations: 372.8 kB / 1.524 GB, free: 6.297 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.7016, allocations: 8 kB / 1.524 GB, free: 6.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7016, allocations: 4 kB / 1.524 GB, free: 6.285 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.7016, allocations: 4.344 kB / 1.524 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.702, allocations: 59.91 kB / 1.524 GB, free: 6.223 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.702, allocations: 11.88 kB / 1.524 GB, free: 6.211 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.7023, allocations: 35.81 kB / 1.524 GB, free: 6.176 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.7024, allocations: 19.98 kB / 1.524 GB, free: 6.156 MB / 1.217 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.0003682/0.7028, allocations: 225.7 kB / 1.524 GB, free: 5.926 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.7029, allocations: 51.66 kB / 1.524 GB, free: 5.875 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.7035, allocations: 286.9 kB / 1.525 GB, free: 5.586 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.7035, allocations: 4 kB / 1.525 GB, free: 5.582 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.7035, allocations: 7.938 kB / 1.525 GB, free: 5.574 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7035, allocations: 0 / 1.525 GB, free: 5.574 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.7058, allocations: 1.236 MB / 1.526 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7058, allocations: 4 kB / 1.526 GB, free: 4.242 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.706, allocations: 48.08 kB / 1.526 GB, free: 4.195 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.706, allocations: 7.984 kB / 1.526 GB, free: 4.188 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.7061, allocations: 12 kB / 1.526 GB, free: 4.176 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.7061, allocations: 7.984 kB / 1.526 GB, free: 4.168 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/0.7061, allocations: 8.438 kB / 1.526 GB, free: 4.16 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.7068, allocations: 499.6 kB / 1.526 GB, free: 3.605 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.7069, allocations: 59.7 kB / 1.526 GB, free: 3.547 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.707, allocations: 15.98 kB / 1.526 GB, free: 3.531 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.7073, allocations: 8 kB / 1.526 GB, free: 3.523 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.7073, allocations: 31.84 kB / 1.526 GB, free: 3.492 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.7074, allocations: 19.98 kB / 1.527 GB, free: 3.473 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003694/0.7077, allocations: 287.1 kB / 1.527 GB, free: 3.195 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7077, allocations: 0 / 1.527 GB, free: 3.195 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006939/0.7084, allocations: 207.2 kB / 1.527 GB, free: 2.992 MB / 1.217 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.0003157/0.7087, allocations: 171 kB / 1.527 GB, free: 2.816 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006176/0.7094, allocations: 260.2 kB / 1.527 GB, free: 2.562 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7094, allocations: 4 kB / 1.527 GB, free: 2.559 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.7096, allocations: 119.7 kB / 1.528 GB, free: 2.441 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.7108, allocations: 216.7 kB / 1.528 GB, free: 2.238 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.7127, allocations: 1.202 MB / 1.529 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.7132, allocations: 401 kB / 1.529 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.7136, allocations: 107.3 kB / 1.529 GB, free: 432 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.7137, allocations: 31.44 kB / 1.529 GB, free: 404 kB / 1.217 GB Notification: Performance of SimCode: time 6.01e-07/0.7137, allocations: 0 / 1.529 GB, free: 404 kB / 1.217 GB Notification: Performance of Templates: time 0.01684/0.7305, allocations: 8.789 MB / 1.538 GB, free: 7.824 MB / 1.232 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 -s cvode -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/jenkins1/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.757306465995498]