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.001212/0.001212, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001359/0.001359, allocations: 165 kB / 24.17 MB, free: 328 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 1.047/1.047, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.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.925/1.925, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 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.783e-06/1.783e-06, allocations: 0 / 0.76 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.068e-05, allocations: 2.312 kB / 0.76 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.006619/0.00664, allocations: 3.809 MB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.009364/0.016, allocations: 6.448 MB / 0.7701 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003497/0.01635, allocations: 31.81 kB / 0.7701 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004664/0.02102, allocations: 1.963 MB / 0.772 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.02206, allocations: 0.6303 MB / 0.7726 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 2.859e-05/0.02209, allocations: 4 kB / 0.7726 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02324/0.04533, allocations: 22.22 MB / 0.7943 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.04548, allocations: 54.55 kB / 0.7944 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.04626, allocations: 0.7088 MB / 0.7951 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.04671, allocations: 0.5098 MB / 0.7956 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.04676, allocations: 24 kB / 0.7956 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.04687, allocations: 20 kB / 0.7956 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004961/0.04737, allocations: 0.8065 MB / 0.7964 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.04768, allocations: 446.7 kB / 0.7968 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008163/0.04849, allocations: 1.218 MB / 0.798 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.0485, allocations: 0 / 0.798 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.393e-06/0.0485, allocations: 0 / 0.798 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.04851, allocations: 0 / 0.798 GB, free: 15.78 MB / 0.7605 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.00143/0.04994, allocations: 2.056 MB / 0.8 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.04997, allocations: 12.03 kB / 0.8 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.05008, allocations: 187.1 kB / 0.8002 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.0518, allocations: 1.956 MB / 0.8021 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.05183, allocations: 150.6 kB / 0.8023 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.05187, allocations: 158.5 kB / 0.8024 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.611e-05/0.05191, allocations: 104.9 kB / 0.8025 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.05193, allocations: 75.28 kB / 0.8026 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.05196, allocations: 150.6 kB / 0.8027 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.05199, allocations: 162.6 kB / 0.8029 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.05203, allocations: 150.6 kB / 0.803 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.05233, allocations: 377.2 kB / 0.8034 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.988e-05/0.05239, allocations: 169.1 kB / 0.8035 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.05241, allocations: 88.14 kB / 0.8036 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.05243, allocations: 75.28 kB / 0.8037 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.05246, allocations: 105.8 kB / 0.8038 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.05246, allocations: 3.938 kB / 0.8038 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 0.0001283/0.05259, allocations: 133.6 kB / 0.8039 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.05263, allocations: 130.6 kB / 0.8041 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.05426, allocations: 2.358 MB / 0.8064 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.05427, allocations: 25.7 kB / 0.8064 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.05449, allocations: 381.6 kB / 0.8067 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.05449, allocations: 3.984 kB / 0.8067 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.05451, allocations: 17.7 kB / 0.8068 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.05458, allocations: 309.9 kB / 0.8071 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-06/0.05458, allocations: 0 / 0.8071 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-06/0.05458, allocations: 48 / 0.8071 GB, free: 6.27 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/0.0546, allocations: 79.28 kB / 0.8071 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.05462, allocations: 79.28 kB / 0.8072 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001167/0.05474, allocations: 129.6 kB / 0.8073 GB, free: 5.98 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.05477, allocations: 87.28 kB / 0.8074 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.05479, allocations: 79.22 kB / 0.8075 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-05/0.05482, allocations: 154.6 kB / 0.8076 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.789e-05/0.05484, allocations: 79.22 kB / 0.8077 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.144e-05/0.05487, allocations: 154.6 kB / 0.8079 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.0551, allocations: 83.27 kB / 0.8079 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.05511, allocations: 79.22 kB / 0.808 GB, free: 5.273 MB / 0.7605 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.0001726/0.05529, allocations: 267.2 kB / 0.8083 GB, free: 5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.05539, allocations: 204.8 kB / 0.8085 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.05557, allocations: 281.1 kB / 0.8087 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/0.05561, allocations: 180.2 kB / 0.8089 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.186e-05/0.05565, allocations: 180.3 kB / 0.8091 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.653e-05/0.05569, allocations: 180.2 kB / 0.8093 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.05611, allocations: 0.6848 MB / 0.8099 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/0.05613, allocations: 108.9 kB / 0.81 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.05616, allocations: 105.3 kB / 0.8101 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.05627, allocations: 180.3 kB / 0.8103 GB, free: 2.832 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.05631, allocations: 184.2 kB / 0.8105 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.708e-05/0.05634, allocations: 180.2 kB / 0.8106 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.112e-05/0.05639, allocations: 196.2 kB / 0.8108 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.05654, allocations: 420.1 kB / 0.8112 GB, free: 1.828 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.05672, allocations: 279.5 kB / 0.8115 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.05685, allocations: 192.2 kB / 0.8117 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.05707, allocations: 108.9 kB / 0.8118 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.05711, allocations: 176.3 kB / 0.812 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.05713, allocations: 108.9 kB / 0.8121 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009334/0.05806, allocations: 1.253 MB / 0.8133 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.05806, allocations: 0 / 0.8133 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000281/0.05835, allocations: 176 kB / 0.8135 GB, free: 15.51 MB / 0.7761 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.059e-05/0.05844, allocations: 155.7 kB / 0.8136 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 2.849e-05/0.05846, allocations: 4 kB / 0.8136 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.05848, allocations: 20 kB / 0.8136 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.05848, allocations: 0 / 0.8136 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.06139, allocations: 2.359 MB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.06405, allocations: 2.701 MB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.06443, allocations: 491.7 kB / 0.819 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006572/0.06509, allocations: 287.6 kB / 0.8193 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/0.06693, allocations: 1.045 MB / 0.8203 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of SimCode: time 1.192e-06/0.06693, allocations: 0 / 0.8203 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of Templates: time 0.05469/0.1216, allocations: 58.08 MB / 0.877 GB, free: 15.98 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 -s gbode -gbm=radauIIA3 -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.850209000054747]