Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001984/0.001984, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002382/0.002382, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.623/3.623, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00232/0.00232, allocations: 70.95 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4549, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005255/0.4602, allocations: 3.5 MB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009039/0.4692, allocations: 6.09 MB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.4695, allocations: 31.81 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.4744, allocations: 1.93 MB / 1.375 GB, free: 1.977 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.4755, allocations: 0.6144 MB / 1.376 GB, free: 1.359 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.87e-05/0.4755, allocations: 4 kB / 1.376 GB, free: 1.355 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03222/0.5078, allocations: 22.41 MB / 1.398 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.508, allocations: 42.62 kB / 1.398 GB, free: 10.87 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.509, allocations: 0.5679 MB / 1.398 GB, free: 10.3 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.5102, allocations: 0.6609 MB / 1.399 GB, free: 9.633 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.5105, allocations: 32 kB / 1.399 GB, free: 9.602 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.5109, allocations: 28 kB / 1.399 GB, free: 9.574 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008065/0.5117, allocations: 0.7515 MB / 1.4 GB, free: 8.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.5128, allocations: 0.6095 MB / 1.4 GB, free: 8.207 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.5153, allocations: 2.143 MB / 1.402 GB, free: 6.055 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5153, allocations: 4 kB / 1.402 GB, free: 6.051 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5153, allocations: 0 / 1.402 GB, free: 6.051 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.605e-05/0.5154, allocations: 0 / 1.402 GB, free: 6.051 MB / 1.092 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.00406/0.5194, allocations: 2.194 MB / 1.404 GB, free: 3.812 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5195, allocations: 8.031 kB / 1.404 GB, free: 3.805 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.5198, allocations: 297.8 kB / 1.405 GB, free: 3.512 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/0.5237, allocations: 2.407 MB / 1.407 GB, free: 1.031 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.5238, allocations: 150.6 kB / 1.407 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.5239, allocations: 158.5 kB / 1.407 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.5239, allocations: 101 kB / 1.407 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.524, allocations: 79.22 kB / 1.408 GB, free: 0.543 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.5241, allocations: 154.5 kB / 1.408 GB, free: 400 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/0.5241, allocations: 158.5 kB / 1.408 GB, free: 240 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.5242, allocations: 158.6 kB / 1.408 GB, free: 80 kB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.5255, allocations: 1.049 MB / 1.409 GB, free: 15 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.5256, allocations: 169.1 kB / 1.409 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.5256, allocations: 84.12 kB / 1.409 GB, free: 14.74 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.5257, allocations: 83.28 kB / 1.409 GB, free: 14.66 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.266e-05/0.5257, allocations: 105.8 kB / 1.409 GB, free: 14.54 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.512e-06/0.5257, allocations: 0 / 1.409 GB, free: 14.54 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0002941/0.526, allocations: 244.2 kB / 1.41 GB, free: 14.3 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.5261, allocations: 134.6 kB / 1.41 GB, free: 14.15 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00378/0.5299, allocations: 2.856 MB / 1.413 GB, free: 11.29 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.5299, allocations: 25.7 kB / 1.413 GB, free: 11.25 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009416/0.5308, allocations: 0.9028 MB / 1.414 GB, free: 10.35 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.5308, allocations: 0 / 1.414 GB, free: 10.35 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.5309, allocations: 17.72 kB / 1.414 GB, free: 10.32 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.531, allocations: 306 kB / 1.414 GB, free: 10.02 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-06/0.531, allocations: 0 / 1.414 GB, free: 10.02 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.531, allocations: 0 / 1.414 GB, free: 10.02 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.531, allocations: 75.28 kB / 1.414 GB, free: 9.945 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.008e-05/0.5311, allocations: 75.28 kB / 1.414 GB, free: 9.871 MB / 1.107 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002652/0.5313, allocations: 248.2 kB / 1.414 GB, free: 9.621 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.5314, allocations: 83.27 kB / 1.414 GB, free: 9.539 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.5314, allocations: 79.22 kB / 1.414 GB, free: 9.461 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.997e-05/0.5315, allocations: 154.6 kB / 1.415 GB, free: 9.309 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.492e-05/0.5315, allocations: 79.22 kB / 1.415 GB, free: 9.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.004e-05/0.5316, allocations: 154.5 kB / 1.415 GB, free: 9.078 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.5321, allocations: 95.25 kB / 1.415 GB, free: 8.984 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.5322, allocations: 79.22 kB / 1.415 GB, free: 8.906 MB / 1.107 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.0009206/0.5331, allocations: 0.949 MB / 1.416 GB, free: 7.945 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.5333, allocations: 319.6 kB / 1.416 GB, free: 7.625 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.5337, allocations: 341.1 kB / 1.416 GB, free: 7.281 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-05/0.5338, allocations: 180.3 kB / 1.417 GB, free: 7.098 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.928e-05/0.5338, allocations: 188.1 kB / 1.417 GB, free: 6.906 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.45e-05/0.5339, allocations: 180.3 kB / 1.417 GB, free: 6.723 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.535, allocations: 0.9897 MB / 1.418 GB, free: 5.695 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.702e-05/0.535, allocations: 112.9 kB / 1.418 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.5351, allocations: 101 kB / 1.418 GB, free: 5.473 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.5351, allocations: 180.2 kB / 1.418 GB, free: 5.289 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.523e-05/0.5352, allocations: 188.3 kB / 1.419 GB, free: 5.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.652e-05/0.5353, allocations: 180.3 kB / 1.419 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.803e-05/0.5354, allocations: 184.1 kB / 1.419 GB, free: 4.727 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.5357, allocations: 0.5226 MB / 1.419 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.5362, allocations: 295.5 kB / 1.42 GB, free: 3.883 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.5365, allocations: 184.3 kB / 1.42 GB, free: 3.695 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.537, allocations: 128.9 kB / 1.42 GB, free: 3.562 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.537, allocations: 184.1 kB / 1.42 GB, free: 3.375 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.5371, allocations: 108.9 kB / 1.42 GB, free: 3.262 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002861/0.5399, allocations: 2.095 MB / 1.422 GB, free: 1.16 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5399, allocations: 0 / 1.422 GB, free: 1.16 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004881/0.5404, allocations: 176 kB / 1.422 GB, free: 0.9883 MB / 1.107 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.0001743/0.5406, allocations: 174.5 kB / 1.423 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 5.351e-05/0.5407, allocations: 0 / 1.423 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5407, allocations: 0 / 1.423 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-06/0.5407, allocations: 0 / 1.423 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/0.5461, allocations: 2.351 MB / 1.425 GB, free: 14.5 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.5508, allocations: 3.522 MB / 1.428 GB, free: 10.94 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.5521, allocations: 1.132 MB / 1.429 GB, free: 9.77 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001401/0.5535, allocations: 435.5 kB / 1.43 GB, free: 9.34 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.5536, allocations: 111.4 kB / 1.43 GB, free: 9.23 MB / 1.123 GB Notification: Performance of SimCode: time 7.31e-07/0.5536, allocations: 0 / 1.43 GB, free: 9.23 MB / 1.123 GB Notification: Performance of Templates: time 0.09844/0.6521, allocations: 57.87 MB / 1.486 GB, free: 0.5508 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.306679900735617]