Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.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.00168/0.00168, allocations: 81.06 kB / 19.76 MB, free: 2.016 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.002388/0.002388, allocations: 160.8 kB / 23.01 MB, free: 4.969 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.891/2.891, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 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_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") [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.002626/0.002626, allocations: 71.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9132/0.9158, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2182/1.134, allocations: 155.4 MB / 1.338 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01157/1.146, allocations: 8.021 MB / 1.346 GB, free: 2.406 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/1.146, allocations: 31.69 kB / 1.346 GB, free: 2.375 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/1.147, allocations: 309.7 kB / 1.347 GB, free: 2.07 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0007265/1.148, allocations: 314.4 kB / 1.347 GB, free: 1.762 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/1.149, allocations: 396.9 kB / 1.347 GB, free: 1.375 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001362/1.15, allocations: 1.156 MB / 1.348 GB, free: 216 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007322/1.151, allocations: 439.1 kB / 1.349 GB, free: 15.78 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/1.156, allocations: 2.086 MB / 1.351 GB, free: 13.68 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/1.156, allocations: 354.3 kB / 1.351 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/1.156, allocations: 40 kB / 1.351 GB, free: 13.3 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/1.157, allocations: 87.94 kB / 1.351 GB, free: 13.21 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002951/1.157, allocations: 275.2 kB / 1.352 GB, free: 12.94 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/1.157, allocations: 230.9 kB / 1.352 GB, free: 12.71 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007912/1.158, allocations: 0.6416 MB / 1.352 GB, free: 12.07 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.158, allocations: 0 / 1.352 GB, free: 12.07 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.794e-06/1.158, allocations: 0 / 1.352 GB, free: 12.07 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.41e-05/1.158, allocations: 0 / 1.352 GB, free: 12.07 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001125/1.159, allocations: 0.7658 MB / 1.353 GB, free: 11.27 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/1.159, allocations: 8.031 kB / 1.353 GB, free: 11.27 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/1.159, allocations: 71.52 kB / 1.353 GB, free: 11.2 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/1.16, allocations: 379.3 kB / 1.354 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/1.16, allocations: 41.3 kB / 1.354 GB, free: 10.76 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.331e-05/1.16, allocations: 48 kB / 1.354 GB, free: 10.71 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/1.161, allocations: 0.7105 MB / 1.354 GB, free: 9.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/1.161, allocations: 0 / 1.354 GB, free: 9.918 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/1.161, allocations: 20 kB / 1.354 GB, free: 9.898 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/1.161, allocations: 43.84 kB / 1.354 GB, free: 9.855 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/1.162, allocations: 374 kB / 1.355 GB, free: 9.492 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/1.165, allocations: 2.869 MB / 1.358 GB, free: 6.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/1.165, allocations: 218.1 kB / 1.358 GB, free: 6.195 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/1.166, allocations: 128.5 kB / 1.358 GB, free: 6.039 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/1.166, allocations: 8 kB / 1.358 GB, free: 6.031 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.166, allocations: 42.48 kB / 1.358 GB, free: 5.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.166, allocations: 4 kB / 1.358 GB, free: 5.977 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007206/1.166, allocations: 218.3 kB / 1.358 GB, free: 5.758 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/1.166, allocations: 298.7 kB / 1.358 GB, free: 5.398 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/1.167, allocations: 264.6 kB / 1.359 GB, free: 5.133 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/1.167, allocations: 33.73 kB / 1.359 GB, free: 5.094 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/1.167, allocations: 304.2 kB / 1.359 GB, free: 4.789 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/1.167, allocations: 39.69 kB / 1.359 GB, free: 4.75 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/1.167, allocations: 25.72 kB / 1.359 GB, free: 4.719 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.167, allocations: 334.8 kB / 1.359 GB, free: 4.383 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.167, allocations: 35.95 kB / 1.359 GB, free: 4.348 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/1.168, allocations: 229.6 kB / 1.36 GB, free: 4.074 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/1.168, allocations: 129 kB / 1.36 GB, free: 3.93 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.168, allocations: 0 / 1.36 GB, free: 3.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003663/1.168, allocations: 153.8 kB / 1.36 GB, free: 3.773 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.168, allocations: 12.17 kB / 1.36 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.168, allocations: 0 / 1.36 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/1.168, allocations: 15.81 kB / 1.36 GB, free: 3.746 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/1.169, allocations: 35.97 kB / 1.36 GB, free: 3.711 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.169, allocations: 11.92 kB / 1.36 GB, free: 3.699 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/1.169, allocations: 11.95 kB / 1.36 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/1.169, allocations: 7.984 kB / 1.36 GB, free: 3.68 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0002412/1.169, allocations: 205.8 kB / 1.36 GB, free: 3.469 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.169, allocations: 27.86 kB / 1.36 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/1.169, allocations: 28.98 kB / 1.36 GB, free: 3.414 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.169, allocations: 7.938 kB / 1.36 GB, free: 3.406 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/1.169, allocations: 7.984 kB / 1.36 GB, free: 3.398 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.169, allocations: 4 kB / 1.36 GB, free: 3.395 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/1.171, allocations: 1.199 MB / 1.361 GB, free: 2.125 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/1.171, allocations: 8.062 kB / 1.361 GB, free: 2.117 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.171, allocations: 39.95 kB / 1.361 GB, free: 2.078 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/1.171, allocations: 0 / 1.361 GB, free: 2.078 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.171, allocations: 4 kB / 1.361 GB, free: 2.074 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.171, allocations: 7.938 kB / 1.361 GB, free: 2.066 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.171, allocations: 4 kB / 1.361 GB, free: 2.062 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/1.172, allocations: 311 kB / 1.362 GB, free: 1.715 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/1.172, allocations: 31.8 kB / 1.362 GB, free: 1.684 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/1.172, allocations: 7.984 kB / 1.362 GB, free: 1.676 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/1.172, allocations: 8 kB / 1.362 GB, free: 1.668 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/1.172, allocations: 19.86 kB / 1.362 GB, free: 1.648 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/1.172, allocations: 4 kB / 1.362 GB, free: 1.645 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001971/1.172, allocations: 199.1 kB / 1.362 GB, free: 1.453 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.172, allocations: 0 / 1.362 GB, free: 1.453 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004506/1.172, allocations: 119.4 kB / 1.362 GB, free: 1.336 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0002085/1.173, allocations: 119.2 kB / 1.362 GB, free: 1.211 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003172/1.173, allocations: 99.8 kB / 1.362 GB, free: 1.113 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.173, allocations: 4 kB / 1.362 GB, free: 1.109 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/1.173, allocations: 68.7 kB / 1.362 GB, free: 1.043 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/1.174, allocations: 95.59 kB / 1.363 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.175, allocations: 0.8366 MB / 1.363 GB, free: 56 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/1.176, allocations: 308.7 kB / 1.364 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000167/1.176, allocations: 65.81 kB / 1.364 GB, free: 15.66 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/1.176, allocations: 20.5 kB / 1.364 GB, free: 15.64 MB / 1.217 GB Notification: Performance of SimCode: time 4.41e-07/1.176, allocations: 0 / 1.364 GB, free: 15.64 MB / 1.217 GB Notification: Performance of Templates: time 0.008368/1.184, allocations: 3.19 MB / 1.367 GB, free: 12.55 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.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.145934822969139]