Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007938/0.0007938, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.001845, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007092/0.0007092, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002487/0.003196, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9978/0.9978, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08762/1.085, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.809/1.809, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.485/2.294, allocations: 123.3 MB / 0.7283 GB, free: 5.738 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.3e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.00336/0.003373, allocations: 3.841 MB / 0.7334 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005749/0.009121, allocations: 6.493 MB / 0.7397 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.009322, allocations: 35.81 kB / 0.7398 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.01209, allocations: 1.934 MB / 0.7417 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.01264, allocations: 0.6421 MB / 0.7423 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 1.745e-05/0.01266, allocations: 5.281 kB / 0.7423 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01765/0.03031, allocations: 21 MB / 0.7628 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.03053, allocations: 62.53 kB / 0.7629 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.03195, allocations: 1.046 MB / 0.7639 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.03252, allocations: 0.502 MB / 0.7644 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.03258, allocations: 24 kB / 0.7644 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.03275, allocations: 24 kB / 0.7644 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.03325, allocations: 0.791 MB / 0.7652 GB, free: 128 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000581/0.03383, allocations: 422.8 kB / 0.7656 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0008797/0.03471, allocations: 1.214 MB / 0.7668 GB, free: 14.49 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.03472, allocations: 4 kB / 0.7668 GB, free: 14.49 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.684e-06/0.03473, allocations: 0 / 0.7668 GB, free: 14.49 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.03475, allocations: 4 kB / 0.7668 GB, free: 14.48 MB / 0.7449 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.00162/0.03637, allocations: 2.384 MB / 0.7691 GB, free: 12.06 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.0364, allocations: 8.031 kB / 0.7691 GB, free: 12.05 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.03651, allocations: 187.1 kB / 0.7693 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.03817, allocations: 1.963 MB / 0.7712 GB, free: 9.82 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.0382, allocations: 150.6 kB / 0.7714 GB, free: 9.672 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.03823, allocations: 154.6 kB / 0.7715 GB, free: 9.52 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.09e-05/0.03827, allocations: 105 kB / 0.7716 GB, free: 9.41 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.03829, allocations: 75.28 kB / 0.7717 GB, free: 9.336 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.03832, allocations: 150.6 kB / 0.7718 GB, free: 9.188 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.03835, allocations: 154.5 kB / 0.772 GB, free: 9.035 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.03838, allocations: 154.6 kB / 0.7721 GB, free: 8.883 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.03874, allocations: 385.1 kB / 0.7725 GB, free: 8.492 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.0388, allocations: 169.1 kB / 0.7726 GB, free: 8.316 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.03882, allocations: 84.14 kB / 0.7727 GB, free: 8.23 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.03884, allocations: 79.28 kB / 0.7728 GB, free: 8.152 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.03887, allocations: 105.8 kB / 0.7729 GB, free: 8.039 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.03887, allocations: 0 / 0.7729 GB, free: 8.039 MB / 0.7449 GB Notification: Performance of matching and sorting (n=0): time 0.0001164/0.03898, allocations: 133.5 kB / 0.773 GB, free: 7.902 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.03902, allocations: 130.7 kB / 0.7731 GB, free: 7.762 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.0406, allocations: 2.354 MB / 0.7754 GB, free: 5.395 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.0406, allocations: 29.64 kB / 0.7755 GB, free: 5.359 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.04082, allocations: 381.6 kB / 0.7758 GB, free: 4.98 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-07/0.04082, allocations: 0 / 0.7758 GB, free: 4.98 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.04083, allocations: 13.72 kB / 0.7759 GB, free: 4.961 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.0409, allocations: 317.9 kB / 0.7762 GB, free: 4.645 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-06/0.0409, allocations: 0 / 0.7762 GB, free: 4.645 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.0409, allocations: 0 / 0.7762 GB, free: 4.645 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.601e-05/0.04092, allocations: 75.28 kB / 0.7762 GB, free: 4.57 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.04094, allocations: 75.28 kB / 0.7763 GB, free: 4.496 MB / 0.7449 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001041/0.04104, allocations: 145.5 kB / 0.7764 GB, free: 4.348 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.04106, allocations: 79.28 kB / 0.7765 GB, free: 4.27 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.04108, allocations: 79.28 kB / 0.7766 GB, free: 4.191 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/0.04112, allocations: 150.6 kB / 0.7767 GB, free: 4.043 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.675e-05/0.04114, allocations: 79.22 kB / 0.7768 GB, free: 3.965 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/0.04117, allocations: 158.6 kB / 0.777 GB, free: 3.809 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.04139, allocations: 87.2 kB / 0.777 GB, free: 3.723 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.0414, allocations: 79.33 kB / 0.7771 GB, free: 3.645 MB / 0.7449 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.0001625/0.04156, allocations: 267.2 kB / 0.7774 GB, free: 3.371 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.04166, allocations: 213 kB / 0.7776 GB, free: 3.156 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.04183, allocations: 277.2 kB / 0.7778 GB, free: 2.875 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/0.04187, allocations: 180.2 kB / 0.778 GB, free: 2.691 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-05/0.0419, allocations: 184.2 kB / 0.7782 GB, free: 2.504 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/0.04194, allocations: 176.3 kB / 0.7784 GB, free: 2.324 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.04235, allocations: 0.6925 MB / 0.779 GB, free: 1.605 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.04236, allocations: 105 kB / 0.7791 GB, free: 1.496 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.04238, allocations: 101 kB / 0.7792 GB, free: 1.391 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.04269, allocations: 291.4 kB / 0.7795 GB, free: 1.098 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.82e-05/0.04273, allocations: 180.3 kB / 0.7797 GB, free: 0.9141 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.04277, allocations: 180.2 kB / 0.7799 GB, free: 0.7305 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.509e-05/0.0428, allocations: 176.3 kB / 0.78 GB, free: 0.5508 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.853e-05/0.04284, allocations: 180.3 kB / 0.7802 GB, free: 376 kB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.043, allocations: 420.1 kB / 0.7806 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.04312, allocations: 184.2 kB / 0.7808 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.04334, allocations: 113 kB / 0.7809 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.04338, allocations: 180.3 kB / 0.781 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.0434, allocations: 108.9 kB / 0.7812 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009026/0.0443, allocations: 1.261 MB / 0.7824 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.4e-07/0.0443, allocations: 0 / 0.7824 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002676/0.04457, allocations: 176 kB / 0.7826 GB, free: 13.89 MB / 0.7605 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.0001109/0.04468, allocations: 151.7 kB / 0.7827 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 4.054e-05/0.04472, allocations: 4 kB / 0.7827 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/0.04473, allocations: 24 kB / 0.7827 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.04474, allocations: 4 kB / 0.7827 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007679/0.05242, allocations: 19.13 MB / 0.8014 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.0562, allocations: 2.697 MB / 0.804 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.05655, allocations: 491.7 kB / 0.8045 GB, free: 3.406 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000773/0.05732, allocations: 291.5 kB / 0.8048 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/0.05929, allocations: 1.038 MB / 0.8058 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of SimCode: time 1.182e-06/0.05929, allocations: 0 / 0.8058 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of Templates: time 0.05656/0.1159, allocations: 65.15 MB / 0.8694 GB, free: 2.391 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord/Buildings_12_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: 5.490424636751413]