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.001178/0.001178, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002881, allocations: 440 kB / 10.41 MB, free: 284 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.001108/0.001108, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001485/0.002593, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9386/0.9386, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08232/1.021, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.41/2.41, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.261/2.671, allocations: 146 MB / 0.8176 GB, free: 3.793 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 1.853e-06/1.853e-06, allocations: 0 / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.684e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003467/0.003484, allocations: 3.865 MB / 0.8227 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006332/0.009816, allocations: 6.626 MB / 0.8292 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.01011, allocations: 31.81 kB / 0.8292 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.01289, allocations: 1.927 MB / 0.8311 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.01349, allocations: 0.6411 MB / 0.8317 GB, free: 5.316 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 1.767e-05/0.01351, allocations: 4 kB / 0.8317 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0168/0.03031, allocations: 21.02 MB / 0.8522 GB, free: 272 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.03045, allocations: 50.62 kB / 0.8523 GB, free: 200 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.03165, allocations: 1.05 MB / 0.8533 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.0321, allocations: 0.5059 MB / 0.8538 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.03215, allocations: 24 kB / 0.8538 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.03228, allocations: 24 kB / 0.8538 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.03269, allocations: 0.7832 MB / 0.8546 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.03299, allocations: 422.8 kB / 0.855 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009392/0.03393, allocations: 1.218 MB / 0.8562 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.03394, allocations: 0 / 0.8562 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.723e-06/0.03394, allocations: 0 / 0.8562 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.03396, allocations: 0 / 0.8562 GB, free: 12.11 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.001671/0.03563, allocations: 2.391 MB / 0.8585 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.03567, allocations: 12.03 kB / 0.8586 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.03581, allocations: 183.1 kB / 0.8587 GB, free: 9.492 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.03754, allocations: 1.964 MB / 0.8606 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.03758, allocations: 150.6 kB / 0.8608 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.03761, allocations: 150.6 kB / 0.8609 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.586e-05/0.03766, allocations: 104.9 kB / 0.861 GB, free: 7.035 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.03768, allocations: 79.27 kB / 0.8611 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.03771, allocations: 154.6 kB / 0.8613 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.03774, allocations: 150.6 kB / 0.8614 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.03778, allocations: 150.6 kB / 0.8615 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.03801, allocations: 385.2 kB / 0.8619 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.03807, allocations: 173.1 kB / 0.8621 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.03809, allocations: 80.14 kB / 0.8622 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.03811, allocations: 75.28 kB / 0.8622 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.03814, allocations: 105.8 kB / 0.8623 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.03814, allocations: 7.984 kB / 0.8623 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001217/0.03826, allocations: 129.6 kB / 0.8625 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.03831, allocations: 130.6 kB / 0.8626 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.04005, allocations: 2.354 MB / 0.8649 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.04006, allocations: 29.7 kB / 0.8649 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.04027, allocations: 397.6 kB / 0.8653 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-06/0.04027, allocations: 0 / 0.8653 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.04028, allocations: 13.66 kB / 0.8653 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.04034, allocations: 309.9 kB / 0.8656 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.04035, allocations: 0 / 0.8656 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-06/0.04035, allocations: 48 / 0.8656 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.853e-05/0.04037, allocations: 83.28 kB / 0.8657 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.04038, allocations: 79.28 kB / 0.8657 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001029/0.04049, allocations: 129.6 kB / 0.8659 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.04051, allocations: 83.28 kB / 0.866 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.04053, allocations: 79.22 kB / 0.866 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/0.04057, allocations: 154.6 kB / 0.8662 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-05/0.04059, allocations: 83.22 kB / 0.8663 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/0.04062, allocations: 154.5 kB / 0.8664 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.04084, allocations: 79.28 kB / 0.8665 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.04086, allocations: 79.22 kB / 0.8666 GB, free: 1.266 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.0001681/0.04102, allocations: 271.2 kB / 0.8668 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.04113, allocations: 204.8 kB / 0.867 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.0413, allocations: 277.1 kB / 0.8673 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/0.04134, allocations: 180.3 kB / 0.8674 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.063e-05/0.04138, allocations: 180.3 kB / 0.8676 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/0.04142, allocations: 184.2 kB / 0.8678 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.04184, allocations: 0.6887 MB / 0.8685 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.04186, allocations: 108.9 kB / 0.8686 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.04189, allocations: 101 kB / 0.8687 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.04205, allocations: 287.5 kB / 0.8689 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.408e-05/0.04209, allocations: 180.2 kB / 0.8691 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.04212, allocations: 180.3 kB / 0.8693 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.418e-05/0.04216, allocations: 184.2 kB / 0.8695 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-05/0.04219, allocations: 184.2 kB / 0.8696 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.04235, allocations: 416.5 kB / 0.87 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.04261, allocations: 188.3 kB / 0.8702 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.04283, allocations: 108.9 kB / 0.8703 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.04286, allocations: 180.2 kB / 0.8705 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.04289, allocations: 108.9 kB / 0.8706 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008925/0.04378, allocations: 1.253 MB / 0.8718 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.04378, allocations: 0 / 0.8718 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002627/0.04404, allocations: 180 kB / 0.872 GB, free: 11.51 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 9.783e-05/0.04414, allocations: 159.6 kB / 0.8721 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.352e-05/0.04417, allocations: 7.984 kB / 0.8721 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/0.04419, allocations: 24 kB / 0.8722 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.04419, allocations: 0 / 0.8722 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007727/0.05192, allocations: 19.13 MB / 0.8909 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.05571, allocations: 2.693 MB / 0.8935 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.05605, allocations: 491.7 kB / 0.894 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007214/0.05677, allocations: 287.6 kB / 0.8942 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/0.05856, allocations: 1.041 MB / 0.8952 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/0.05857, allocations: 0 / 0.8952 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of Templates: time 0.05806/0.1166, allocations: 65.13 MB / 0.9588 GB, free: 72 kB / 0.9323 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.005877658724785]