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.001009/0.001009, allocations: 82.64 kB / 20.68 MB, free: 3.812 MB / 18.57 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.001101/0.001101, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 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.9355/0.9355, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.6239 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.545e-06/2.545e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.965e-05, allocations: 2.312 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003916/0.003936, allocations: 3.764 MB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006522/0.01046, allocations: 6.306 MB / 0.8218 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.01069, allocations: 31.81 kB / 0.8218 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.01366, allocations: 1.951 MB / 0.8237 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005842/0.01425, allocations: 0.6374 MB / 0.8244 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 1.538e-05/0.01426, allocations: 4 kB / 0.8244 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01817/0.03243, allocations: 22.62 MB / 0.8465 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.03258, allocations: 50.62 kB / 0.8465 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00077/0.03335, allocations: 0.705 MB / 0.8472 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.0338, allocations: 0.5526 MB / 0.8477 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.066e-05/0.03385, allocations: 20 kB / 0.8478 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.03397, allocations: 24 kB / 0.8478 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.03438, allocations: 0.8065 MB / 0.8486 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.03468, allocations: 450.7 kB / 0.849 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007678/0.03545, allocations: 1.218 MB / 0.8502 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.03545, allocations: 0 / 0.8502 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.473e-06/0.03545, allocations: 0 / 0.8502 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.03546, allocations: 3.984 kB / 0.8502 GB, free: 10.32 MB / 0.8073 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.001846/0.03731, allocations: 2.537 MB / 0.8527 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.03734, allocations: 8.031 kB / 0.8527 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.03749, allocations: 341.7 kB / 0.853 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.03897, allocations: 1.997 MB / 0.8549 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.03901, allocations: 238.4 kB / 0.8552 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.03906, allocations: 242.4 kB / 0.8554 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.167e-05/0.03911, allocations: 152.8 kB / 0.8555 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.03913, allocations: 123.1 kB / 0.8557 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.03919, allocations: 238.4 kB / 0.8559 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.03923, allocations: 238.4 kB / 0.8561 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.03928, allocations: 238.4 kB / 0.8563 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.04, allocations: 1.218 MB / 0.8575 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.038e-05/0.04007, allocations: 269.4 kB / 0.8578 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.0401, allocations: 134.9 kB / 0.8579 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.04012, allocations: 119.2 kB / 0.858 GB, free: 2.094 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.04016, allocations: 152.6 kB / 0.8582 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.04016, allocations: 0 / 0.8582 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001519/0.04031, allocations: 240.2 kB / 0.8584 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.04036, allocations: 174.6 kB / 0.8586 GB, free: 1.508 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.04248, allocations: 2.756 MB / 0.8613 GB, free: 14.74 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/0.04248, allocations: 25.7 kB / 0.8613 GB, free: 14.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/0.04332, allocations: 1.312 MB / 0.8626 GB, free: 13.39 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.04332, allocations: 0 / 0.8626 GB, free: 13.39 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.04333, allocations: 15.38 kB / 0.8626 GB, free: 13.37 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.04343, allocations: 496.4 kB / 0.8631 GB, free: 12.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-06/0.04343, allocations: 0 / 0.8631 GB, free: 12.88 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.04343, allocations: 0 / 0.8631 GB, free: 12.88 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.338e-05/0.04346, allocations: 119.2 kB / 0.8632 GB, free: 12.76 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-05/0.04348, allocations: 119.2 kB / 0.8633 GB, free: 12.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000142/0.04362, allocations: 244.2 kB / 0.8635 GB, free: 12.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.04366, allocations: 127.2 kB / 0.8636 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.04368, allocations: 123.1 kB / 0.8638 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-05/0.04374, allocations: 246.4 kB / 0.864 GB, free: 11.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.573e-05/0.04377, allocations: 119.2 kB / 0.8641 GB, free: 11.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.876e-05/0.04381, allocations: 250.3 kB / 0.8643 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.04405, allocations: 127.2 kB / 0.8645 GB, free: 11.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.04407, allocations: 123.1 kB / 0.8646 GB, free: 11.3 MB / 0.823 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.0001956/0.04427, allocations: 402.9 kB / 0.865 GB, free: 10.89 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.04441, allocations: 359.4 kB / 0.8653 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.04459, allocations: 325 kB / 0.8656 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001807/0.04477, allocations: 264.3 kB / 0.8659 GB, free: 9.934 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.987e-05/0.04482, allocations: 268.1 kB / 0.8661 GB, free: 9.664 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.986e-05/0.04487, allocations: 276 kB / 0.8664 GB, free: 9.387 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007278/0.0456, allocations: 1.196 MB / 0.8676 GB, free: 8.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.04563, allocations: 156.8 kB / 0.8677 GB, free: 7.996 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.04566, allocations: 148.9 kB / 0.8679 GB, free: 7.844 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.868e-05/0.04571, allocations: 264.1 kB / 0.8681 GB, free: 7.578 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.04576, allocations: 268 kB / 0.8684 GB, free: 7.309 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-05/0.04581, allocations: 268.1 kB / 0.8686 GB, free: 7.039 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-05/0.04586, allocations: 268 kB / 0.8689 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.04607, allocations: 0.6602 MB / 0.8695 GB, free: 6.082 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.04626, allocations: 335.3 kB / 0.8698 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.04639, allocations: 276.1 kB / 0.8701 GB, free: 5.469 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.04662, allocations: 160.8 kB / 0.8703 GB, free: 5.305 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.04667, allocations: 264.1 kB / 0.8705 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.04669, allocations: 148.9 kB / 0.8706 GB, free: 4.887 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009754/0.04767, allocations: 1.349 MB / 0.872 GB, free: 3.531 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.04767, allocations: 0 / 0.872 GB, free: 3.531 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002938/0.04796, allocations: 176 kB / 0.8721 GB, free: 3.359 MB / 0.823 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.0001062/0.04807, allocations: 218.4 kB / 0.8723 GB, free: 3.133 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 3.041e-05/0.0481, allocations: 0 / 0.8723 GB, free: 3.133 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.0481, allocations: 0 / 0.8723 GB, free: 3.133 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.0481, allocations: 8 kB / 0.8724 GB, free: 3.125 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/0.05119, allocations: 2.613 MB / 0.8749 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.05358, allocations: 2.754 MB / 0.8776 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.05392, allocations: 0.4997 MB / 0.8781 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006172/0.05454, allocations: 287.6 kB / 0.8784 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/0.05632, allocations: 1.231 MB / 0.8796 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/0.05632, allocations: 0 / 0.8796 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.05428/0.1106, allocations: 58.05 MB / 0.9362 GB, free: 3.328 MB / 0.8855 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.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: 5.662312180735171]