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.001154/0.001154, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001593/0.002748, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009942/0.0009942, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.00217, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9882/0.9882, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/1.097, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.475/2.475, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2513/2.726, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",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.[0-9,]+.|datDef.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datRed.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datAss.per.[0-9,]+..pressure.V_flow.[0-9,]+.|datPre.per.[0-9,]+..pressure.V_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.782e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.004958/0.004976, allocations: 3.859 MB / 0.8221 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.0153, allocations: 6.618 MB / 0.8285 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.01574, allocations: 27.88 kB / 0.8285 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004603/0.02035, allocations: 1.931 MB / 0.8304 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.02142, allocations: 0.6371 MB / 0.8311 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.373e-05/0.02144, allocations: 4 kB / 0.8311 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02502/0.04647, allocations: 21.04 MB / 0.8516 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.04672, allocations: 46.62 kB / 0.8516 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.04861, allocations: 1.058 MB / 0.8527 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.04941, allocations: 0.5059 MB / 0.8532 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.04951, allocations: 24 kB / 0.8532 GB, free: 15 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.04973, allocations: 20 kB / 0.8532 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0007545/0.05048, allocations: 0.7832 MB / 0.854 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0006606/0.05114, allocations: 422.8 kB / 0.8544 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.05269, allocations: 1.218 MB / 0.8556 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.253e-05/0.05272, allocations: 0 / 0.8556 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.355e-06/0.05272, allocations: 0 / 0.8556 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.659e-05/0.05279, allocations: 0 / 0.8556 GB, free: 12.56 MB / 0.8386 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.003445/0.05623, allocations: 2.384 MB / 0.8579 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.05629, allocations: 8.625 kB / 0.8579 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.05659, allocations: 183.1 kB / 0.8581 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.05965, allocations: 1.967 MB / 0.86 GB, free: 7.898 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/0.05971, allocations: 150.6 kB / 0.8601 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.05976, allocations: 150.6 kB / 0.8603 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.05983, allocations: 101 kB / 0.8604 GB, free: 7.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.05986, allocations: 87.16 kB / 0.8605 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.05992, allocations: 150.6 kB / 0.8606 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.05998, allocations: 154.6 kB / 0.8608 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.524e-05/0.06003, allocations: 150.6 kB / 0.8609 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.06056, allocations: 381.2 kB / 0.8613 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.06065, allocations: 169.1 kB / 0.8614 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.06068, allocations: 84.08 kB / 0.8615 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.06071, allocations: 75.28 kB / 0.8616 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.06076, allocations: 109.8 kB / 0.8617 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.06076, allocations: 0 / 0.8617 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0002222/0.06098, allocations: 133.6 kB / 0.8618 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.06106, allocations: 126.7 kB / 0.8619 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/0.06381, allocations: 2.362 MB / 0.8642 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.06383, allocations: 25.7 kB / 0.8643 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.06415, allocations: 381.6 kB / 0.8646 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.06416, allocations: 0 / 0.8646 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.06418, allocations: 17.7 kB / 0.8646 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.06429, allocations: 313.9 kB / 0.8649 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-06/0.0643, allocations: 3.938 kB / 0.865 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.0643, allocations: 4 kB / 0.865 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.06433, allocations: 75.28 kB / 0.865 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.06436, allocations: 75.28 kB / 0.8651 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001831/0.06454, allocations: 133.6 kB / 0.8652 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.06458, allocations: 83.28 kB / 0.8653 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/0.06461, allocations: 79.22 kB / 0.8654 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.789e-05/0.06467, allocations: 154.6 kB / 0.8655 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.476e-05/0.06471, allocations: 75.28 kB / 0.8656 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-05/0.06476, allocations: 154.6 kB / 0.8657 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.06513, allocations: 87.28 kB / 0.8658 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.06516, allocations: 79.22 kB / 0.8659 GB, free: 1.73 MB / 0.8386 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.0002065/0.06536, allocations: 271.2 kB / 0.8662 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.06553, allocations: 204.8 kB / 0.8664 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.06578, allocations: 277.2 kB / 0.8666 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.21e-05/0.06584, allocations: 188.2 kB / 0.8668 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/0.06591, allocations: 176.3 kB / 0.867 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/0.06597, allocations: 180.2 kB / 0.8671 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.06662, allocations: 0.6926 MB / 0.8678 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/0.06664, allocations: 101 kB / 0.8679 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.06668, allocations: 116.8 kB / 0.868 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.06693, allocations: 283.5 kB / 0.8683 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.06699, allocations: 180.2 kB / 0.8685 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.06705, allocations: 184.3 kB / 0.8686 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.967e-05/0.0671, allocations: 184.2 kB / 0.8688 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.29e-05/0.06717, allocations: 180.3 kB / 0.869 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.06743, allocations: 424.1 kB / 0.8694 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.06764, allocations: 180.2 kB / 0.8696 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.06801, allocations: 108.9 kB / 0.8697 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.06808, allocations: 176.3 kB / 0.8698 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.06812, allocations: 109.3 kB / 0.8699 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001553/0.06967, allocations: 1.253 MB / 0.8712 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.11e-07/0.06967, allocations: 0 / 0.8712 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00042/0.07009, allocations: 180 kB / 0.8713 GB, free: 11.97 MB / 0.8542 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.0001163/0.07021, allocations: 163.6 kB / 0.8715 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.812e-05/0.07025, allocations: 4 kB / 0.8715 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.286e-05/0.07028, allocations: 24 kB / 0.8715 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.07028, allocations: 0 / 0.8715 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005158/0.07544, allocations: 2.519 MB / 0.874 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.08252, allocations: 2.706 MB / 0.8766 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005964/0.08312, allocations: 491.7 kB / 0.8771 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001371/0.08449, allocations: 287.6 kB / 0.8774 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/0.08736, allocations: 1.045 MB / 0.8784 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of SimCode: time 1.232e-06/0.08737, allocations: 0 / 0.8784 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.06786/0.1552, allocations: 65 MB / 0.9419 GB, free: 5.211 MB / 0.9167 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.367309714667499]