Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002015/0.002015, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002166/0.002166, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.626/2.626, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") translateModel(Buildings.Templates.Components.Validation.PumpMultipleRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow_nominal.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 68.17 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3288, allocations: 169.9 MB / 1.117 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005729/0.3346, allocations: 3.482 MB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009399/0.344, allocations: 5.904 MB / 1.127 GB, free: 9.141 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.3445, allocations: 39.81 kB / 1.127 GB, free: 9.102 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005256/0.3497, allocations: 1.873 MB / 1.128 GB, free: 7.223 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.351, allocations: 0.5676 MB / 1.129 GB, free: 6.652 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.608e-05/0.351, allocations: 8 kB / 1.129 GB, free: 6.645 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.6329/0.984, allocations: 23.85 MB / 1.152 GB, free: 48.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.9842, allocations: 45.44 kB / 1.152 GB, free: 48.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009902/0.9852, allocations: 0.5886 MB / 1.153 GB, free: 48.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.9859, allocations: 0.6623 MB / 1.154 GB, free: 48.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.986, allocations: 28.25 kB / 1.154 GB, free: 48.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.9862, allocations: 26.25 kB / 1.154 GB, free: 48.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.9866, allocations: 0.7522 MB / 1.154 GB, free: 48.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.9872, allocations: 0.6009 MB / 1.155 GB, free: 48.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.9886, allocations: 2.137 MB / 1.157 GB, free: 47.33 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9886, allocations: 2.625 kB / 1.157 GB, free: 47.33 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9886, allocations: 0 / 1.157 GB, free: 47.33 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.9886, allocations: 0 / 1.157 GB, free: 47.33 MB / 1.076 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.002625/0.9913, allocations: 2.173 MB / 1.159 GB, free: 45.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.9913, allocations: 11.84 kB / 1.159 GB, free: 45.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.9915, allocations: 295.4 kB / 1.159 GB, free: 45.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.9952, allocations: 2.401 MB / 1.162 GB, free: 44.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.9952, allocations: 151.1 kB / 1.162 GB, free: 44.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.9953, allocations: 151.7 kB / 1.162 GB, free: 44.1 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.992e-05/0.9953, allocations: 102.5 kB / 1.162 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.9953, allocations: 84.75 kB / 1.162 GB, free: 43.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.9954, allocations: 151.9 kB / 1.162 GB, free: 43.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.9954, allocations: 162 kB / 1.163 GB, free: 43.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.788e-05/0.9954, allocations: 151.8 kB / 1.163 GB, free: 43.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.9967, allocations: 1.054 MB / 1.164 GB, free: 42.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.038e-05/0.9968, allocations: 176.9 kB / 1.164 GB, free: 42.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.9968, allocations: 80.14 kB / 1.164 GB, free: 42.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.9968, allocations: 78.66 kB / 1.164 GB, free: 42.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.9968, allocations: 111.1 kB / 1.164 GB, free: 42.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.9968, allocations: 0 / 1.164 GB, free: 42.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0002683/0.9971, allocations: 244.6 kB / 1.164 GB, free: 42.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.9971, allocations: 126.7 kB / 1.165 GB, free: 42.1 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/1.001, allocations: 2.853 MB / 1.167 GB, free: 41.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/1.001, allocations: 25.7 kB / 1.167 GB, free: 41.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/1.001, allocations: 0.9051 MB / 1.168 GB, free: 40.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/1.001, allocations: 0 / 1.168 GB, free: 40.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/1.001, allocations: 15.75 kB / 1.168 GB, free: 40.44 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.639e-05/1.002, allocations: 309.9 kB / 1.169 GB, free: 40.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/1.002, allocations: 1.094 kB / 1.169 GB, free: 40.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-06/1.002, allocations: 4 kB / 1.169 GB, free: 40.12 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.421e-05/1.002, allocations: 76.34 kB / 1.169 GB, free: 40.05 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/1.002, allocations: 75.28 kB / 1.169 GB, free: 39.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002578/1.002, allocations: 241.2 kB / 1.169 GB, free: 39.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/1.002, allocations: 85.02 kB / 1.169 GB, free: 39.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.002, allocations: 82.62 kB / 1.169 GB, free: 39.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/1.002, allocations: 155.7 kB / 1.169 GB, free: 39.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.103e-05/1.002, allocations: 76.44 kB / 1.169 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.002, allocations: 155.6 kB / 1.169 GB, free: 39.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/1.003, allocations: 92.92 kB / 1.17 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/1.003, allocations: 80.53 kB / 1.17 GB, free: 39.15 MB / 1.076 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.00078/1.003, allocations: 0.9566 MB / 1.171 GB, free: 38.67 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/1.004, allocations: 314.8 kB / 1.171 GB, free: 38.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/1.004, allocations: 341.8 kB / 1.171 GB, free: 38.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/1.004, allocations: 182.8 kB / 1.171 GB, free: 38.08 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.004, allocations: 181.8 kB / 1.172 GB, free: 37.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/1.004, allocations: 180.8 kB / 1.172 GB, free: 37.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/1.005, allocations: 0.9993 MB / 1.173 GB, free: 37.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.005, allocations: 105.1 kB / 1.173 GB, free: 37.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/1.005, allocations: 110 kB / 1.173 GB, free: 36.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.674e-05/1.005, allocations: 184.7 kB / 1.173 GB, free: 36.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/1.005, allocations: 180.5 kB / 1.173 GB, free: 36.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-05/1.005, allocations: 180.3 kB / 1.173 GB, free: 36.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-05/1.005, allocations: 178.3 kB / 1.174 GB, free: 36.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/1.005, allocations: 0.5241 MB / 1.174 GB, free: 35.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/1.006, allocations: 301.1 kB / 1.174 GB, free: 35.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/1.006, allocations: 180.3 kB / 1.175 GB, free: 35.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/1.006, allocations: 122.5 kB / 1.175 GB, free: 35.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/1.006, allocations: 179.7 kB / 1.175 GB, free: 35.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/1.006, allocations: 106.4 kB / 1.175 GB, free: 34.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002882/1.009, allocations: 2.089 MB / 1.177 GB, free: 34.26 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.009, allocations: 1.125 kB / 1.177 GB, free: 34.26 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005551/1.01, allocations: 176.7 kB / 1.177 GB, free: 34.26 MB / 1.076 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.0001156/1.01, allocations: 171 kB / 1.177 GB, free: 34.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 4.507e-05/1.01, allocations: 9 kB / 1.177 GB, free: 34.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.01, allocations: 5 kB / 1.177 GB, free: 34.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/1.01, allocations: 0 / 1.177 GB, free: 34.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005476/1.015, allocations: 2.355 MB / 1.18 GB, free: 33.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/1.02, allocations: 3.522 MB / 1.183 GB, free: 31.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/1.021, allocations: 1.13 MB / 1.184 GB, free: 31.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001727/1.023, allocations: 439.6 kB / 1.185 GB, free: 31.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/1.023, allocations: 110.9 kB / 1.185 GB, free: 31.17 MB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.023, allocations: 1.125 kB / 1.185 GB, free: 31.17 MB / 1.076 GB Notification: Performance of Templates: time 0.09365/1.117, allocations: 54.94 MB / 1.238 GB, free: 14.25 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.126510350964963]