Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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.001511/0.001511, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.0017/0.0017, allocations: 215.2 kB / 23.01 MB, free: 5.113 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.331/1.331, allocations: 230.6 MB / 256.8 MB, free: 8.023 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 2.947/2.947, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] 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.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [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.00199/0.00199, allocations: 65.03 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005484/0.3054, allocations: 3.864 MB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008831/0.3142, allocations: 6.631 MB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002663/0.3145, allocations: 27.88 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.3191, allocations: 2.057 MB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009976/0.3201, allocations: 0.6183 MB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.433e-05/0.3201, allocations: 4 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03077/0.3509, allocations: 22.49 MB / 1.389 GB, free: 4.145 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.3511, allocations: 46.61 kB / 1.389 GB, free: 4.082 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009382/0.352, allocations: 0.5679 MB / 1.39 GB, free: 3.512 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.3528, allocations: 0.6609 MB / 1.39 GB, free: 2.848 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-05/0.3529, allocations: 32 kB / 1.39 GB, free: 2.816 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.3531, allocations: 28 kB / 1.39 GB, free: 2.789 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006211/0.3537, allocations: 0.7553 MB / 1.391 GB, free: 2.031 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007268/0.3544, allocations: 0.8348 MB / 1.392 GB, free: 1.191 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.3564, allocations: 2.127 MB / 1.394 GB, free: 15.05 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3564, allocations: 4 kB / 1.394 GB, free: 15.05 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3564, allocations: 0 / 1.394 GB, free: 15.05 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.3564, allocations: 0 / 1.394 GB, free: 15.05 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.003116/0.3596, allocations: 2.187 MB / 1.396 GB, free: 12.82 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3596, allocations: 8.031 kB / 1.396 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3598, allocations: 293.8 kB / 1.396 GB, free: 12.52 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/0.3634, allocations: 2.419 MB / 1.399 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.3634, allocations: 154.6 kB / 1.399 GB, free: 9.883 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.3635, allocations: 154.6 kB / 1.399 GB, free: 9.73 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.829e-05/0.3636, allocations: 105 kB / 1.399 GB, free: 9.621 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.3636, allocations: 75.28 kB / 1.399 GB, free: 9.547 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.3637, allocations: 154.6 kB / 1.399 GB, free: 9.395 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.256e-05/0.3637, allocations: 154.5 kB / 1.399 GB, free: 9.242 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.3638, allocations: 154.5 kB / 1.4 GB, free: 9.09 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.3649, allocations: 1.115 MB / 1.401 GB, free: 7.934 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.229e-05/0.365, allocations: 169.1 kB / 1.401 GB, free: 7.758 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.3651, allocations: 84.14 kB / 1.401 GB, free: 7.672 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3651, allocations: 75.28 kB / 1.401 GB, free: 7.598 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.3651, allocations: 109.8 kB / 1.401 GB, free: 7.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3651, allocations: 0 / 1.401 GB, free: 7.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0002625/0.3654, allocations: 248.1 kB / 1.401 GB, free: 7.23 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.3655, allocations: 126.7 kB / 1.401 GB, free: 7.094 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.369, allocations: 2.856 MB / 1.404 GB, free: 4.227 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.369, allocations: 25.7 kB / 1.404 GB, free: 4.195 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009012/0.3699, allocations: 0.9106 MB / 1.405 GB, free: 3.281 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.3699, allocations: 0 / 1.405 GB, free: 3.281 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.37, allocations: 17.64 kB / 1.405 GB, free: 3.258 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3701, allocations: 306 kB / 1.405 GB, free: 2.953 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-06/0.3701, allocations: 4 kB / 1.405 GB, free: 2.949 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-06/0.3701, allocations: 0 / 1.405 GB, free: 2.949 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.3701, allocations: 75.28 kB / 1.406 GB, free: 2.875 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.363e-05/0.3701, allocations: 75.28 kB / 1.406 GB, free: 2.801 MB / 1.092 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002419/0.3704, allocations: 248.2 kB / 1.406 GB, free: 2.551 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.3704, allocations: 79.28 kB / 1.406 GB, free: 2.473 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/0.3705, allocations: 79.28 kB / 1.406 GB, free: 2.395 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-05/0.3705, allocations: 154.5 kB / 1.406 GB, free: 2.242 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.28e-05/0.3706, allocations: 83.22 kB / 1.406 GB, free: 2.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-05/0.3706, allocations: 154.5 kB / 1.406 GB, free: 2.008 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.3711, allocations: 95.2 kB / 1.406 GB, free: 1.914 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.3712, allocations: 79.27 kB / 1.407 GB, free: 1.836 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0008719/0.372, allocations: 0.9489 MB / 1.407 GB, free: 0.875 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.3723, allocations: 319.6 kB / 1.408 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.3726, allocations: 337.1 kB / 1.408 GB, free: 212 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.931e-05/0.3727, allocations: 196.2 kB / 1.408 GB, free: 8 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.332e-05/0.3728, allocations: 180.2 kB / 1.408 GB, free: 15.82 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-05/0.3728, allocations: 176.3 kB / 1.409 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.3739, allocations: 1.056 MB / 1.41 GB, free: 14.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/0.3739, allocations: 101 kB / 1.41 GB, free: 14.43 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.374, allocations: 113 kB / 1.41 GB, free: 14.32 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.307e-05/0.374, allocations: 188.1 kB / 1.41 GB, free: 14.12 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.3741, allocations: 176.3 kB / 1.41 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-05/0.3742, allocations: 188.1 kB / 1.41 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.205e-05/0.3743, allocations: 176.3 kB / 1.411 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.3746, allocations: 0.5227 MB / 1.411 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/0.375, allocations: 291.5 kB / 1.411 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.3752, allocations: 184.2 kB / 1.411 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.3757, allocations: 128.9 kB / 1.412 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.3758, allocations: 188.2 kB / 1.412 GB, free: 12.22 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.3758, allocations: 104.9 kB / 1.412 GB, free: 12.11 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002615/0.3784, allocations: 2.091 MB / 1.414 GB, free: 10.02 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3784, allocations: 0 / 1.414 GB, free: 10.02 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004641/0.3789, allocations: 176 kB / 1.414 GB, free: 9.844 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001454/0.379, allocations: 178.5 kB / 1.414 GB, free: 9.656 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 3.844e-05/0.3791, allocations: 0 / 1.414 GB, free: 9.656 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3791, allocations: 0 / 1.414 GB, free: 9.656 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.3791, allocations: 0 / 1.414 GB, free: 9.656 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/0.3841, allocations: 2.357 MB / 1.417 GB, free: 7.352 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.3885, allocations: 3.686 MB / 1.42 GB, free: 3.621 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.39, allocations: 1.706 MB / 1.422 GB, free: 1.883 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3901, allocations: 111.4 kB / 1.422 GB, free: 1.777 MB / 1.107 GB Notification: Performance of SimCode: time 8.01e-07/0.3901, allocations: 0 / 1.422 GB, free: 1.777 MB / 1.107 GB Notification: Performance of Templates: time 0.05572/0.4459, allocations: 40.02 MB / 1.461 GB, free: 10.16 MB / 1.154 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.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: 19.898259896988748]