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.0009651/0.0009651, allocations: 80.8 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.001375/0.001375, allocations: 161.4 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 0.9696/0.9696, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.822/1.822, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.874e-06/1.874e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.469e-05, allocations: 2.312 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.007683/0.007708, allocations: 3.77 MB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.02478, allocations: 6.449 MB / 0.77 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.02512, allocations: 31.81 kB / 0.77 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.007589/0.03271, allocations: 1.973 MB / 0.7719 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.03409, allocations: 0.6387 MB / 0.7725 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 2.759e-05/0.03412, allocations: 4 kB / 0.7726 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01986/0.05398, allocations: 22.2 MB / 0.7942 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.0543, allocations: 58.55 kB / 0.7943 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.05537, allocations: 0.7205 MB / 0.795 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.05586, allocations: 0.502 MB / 0.7955 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.05591, allocations: 20 kB / 0.7955 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.05604, allocations: 24 kB / 0.7955 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.05646, allocations: 0.8027 MB / 0.7963 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.05681, allocations: 454.6 kB / 0.7967 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.05781, allocations: 1.218 MB / 0.7979 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.05782, allocations: 0 / 0.7979 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.933e-06/0.05782, allocations: 0 / 0.7979 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.05784, allocations: 0 / 0.7979 GB, free: 15.91 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.001592/0.05943, allocations: 2.052 MB / 0.7999 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.05947, allocations: 8.031 kB / 0.7999 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.05959, allocations: 183.1 kB / 0.8001 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.06157, allocations: 1.96 MB / 0.802 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.06161, allocations: 150.6 kB / 0.8022 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.06165, allocations: 158.5 kB / 0.8023 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.212e-05/0.0617, allocations: 105 kB / 0.8024 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.06173, allocations: 79.22 kB / 0.8025 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.06177, allocations: 150.6 kB / 0.8026 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.0618, allocations: 150.6 kB / 0.8028 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.352e-05/0.06184, allocations: 150.6 kB / 0.8029 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.06209, allocations: 377.2 kB / 0.8033 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.06216, allocations: 169.1 kB / 0.8035 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.06218, allocations: 84.08 kB / 0.8035 GB, free: 10 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.0622, allocations: 75.28 kB / 0.8036 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.06224, allocations: 117.8 kB / 0.8037 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.06224, allocations: 4 kB / 0.8037 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 0.0001245/0.06236, allocations: 129.5 kB / 0.8038 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.06241, allocations: 126.7 kB / 0.804 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.06406, allocations: 2.362 MB / 0.8063 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.06407, allocations: 25.7 kB / 0.8063 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.06431, allocations: 385.6 kB / 0.8067 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.06431, allocations: 0 / 0.8067 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.06433, allocations: 9.719 kB / 0.8067 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.06442, allocations: 314 kB / 0.807 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-06/0.06443, allocations: 7.938 kB / 0.807 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.06443, allocations: 4 kB / 0.807 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.06445, allocations: 75.28 kB / 0.8071 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.06447, allocations: 75.28 kB / 0.8071 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001193/0.06459, allocations: 133.6 kB / 0.8073 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.06462, allocations: 79.28 kB / 0.8073 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.06465, allocations: 79.22 kB / 0.8074 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-05/0.0647, allocations: 158.5 kB / 0.8076 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.311e-05/0.06472, allocations: 79.28 kB / 0.8076 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.452e-05/0.06475, allocations: 154.5 kB / 0.8078 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.06498, allocations: 79.28 kB / 0.8079 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.065, allocations: 91.22 kB / 0.8079 GB, free: 5.406 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.000182/0.06518, allocations: 271.1 kB / 0.8082 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.06538, allocations: 204.9 kB / 0.8084 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.06556, allocations: 273.2 kB / 0.8087 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/0.0656, allocations: 184.2 kB / 0.8088 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.731e-05/0.06564, allocations: 176.3 kB / 0.809 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.18e-05/0.06568, allocations: 188.2 kB / 0.8092 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.06612, allocations: 0.6809 MB / 0.8098 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.06615, allocations: 101 kB / 0.8099 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.06618, allocations: 113.2 kB / 0.8101 GB, free: 3.148 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-05/0.06622, allocations: 184.3 kB / 0.8102 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.06626, allocations: 180.2 kB / 0.8104 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-05/0.0663, allocations: 188.2 kB / 0.8106 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.297e-05/0.06634, allocations: 180.2 kB / 0.8108 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.06652, allocations: 412.2 kB / 0.8111 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.06672, allocations: 291.5 kB / 0.8114 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.06685, allocations: 176.3 kB / 0.8116 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.06708, allocations: 120.8 kB / 0.8117 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.06712, allocations: 180.3 kB / 0.8119 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.06715, allocations: 105 kB / 0.812 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009508/0.0681, allocations: 1.249 MB / 0.8132 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.0681, allocations: 4 kB / 0.8132 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002838/0.06838, allocations: 176 kB / 0.8134 GB, free: 15.65 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 0.0001344/0.06851, allocations: 163.6 kB / 0.8135 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.543e-05/0.06855, allocations: 0 / 0.8135 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.06856, allocations: 24 kB / 0.8135 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.06856, allocations: 0 / 0.8135 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/0.07167, allocations: 2.354 MB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.07408, allocations: 2.685 MB / 0.8185 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.07442, allocations: 491.7 kB / 0.8189 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008336/0.07526, allocations: 295.6 kB / 0.8192 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/0.07712, allocations: 1.041 MB / 0.8202 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of SimCode: time 2.535e-06/0.07712, allocations: 0 / 0.8202 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of Templates: time 0.05576/0.1329, allocations: 58.1 MB / 0.877 GB, free: 128 kB / 0.823 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.705257528927177]