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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 191.6 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.361/3.361, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 76.86 kB / 1.137 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.5005, allocations: 173.6 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.008231/0.5088, allocations: 3.829 MB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.5222, allocations: 6.393 MB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.5233, allocations: 39.75 kB / 1.317 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007481/0.5308, allocations: 2.059 MB / 1.319 GB, free: 5.508 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.5327, allocations: 0.6105 MB / 1.319 GB, free: 4.895 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.5329, allocations: 4 kB / 1.319 GB, free: 4.891 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0366/0.5695, allocations: 22.5 MB / 1.341 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.5697, allocations: 54.59 kB / 1.341 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.571, allocations: 0.5641 MB / 1.342 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009202/0.572, allocations: 0.6531 MB / 1.343 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.5721, allocations: 32 kB / 1.343 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.5723, allocations: 32 kB / 1.343 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008075/0.5731, allocations: 0.7592 MB / 1.343 GB, free: 12.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.5742, allocations: 0.831 MB / 1.344 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.5771, allocations: 2.135 MB / 1.346 GB, free: 9.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/0.5771, allocations: 0 / 1.346 GB, free: 9.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.296e-06/0.5771, allocations: 0 / 1.346 GB, free: 9.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.004e-05/0.5771, allocations: 0 / 1.346 GB, free: 9.273 MB / 1.045 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.004372/0.5815, allocations: 2.183 MB / 1.348 GB, free: 7.047 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.189e-05/0.5815, allocations: 8.031 kB / 1.348 GB, free: 7.039 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.582, allocations: 293.8 kB / 1.349 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.5871, allocations: 2.415 MB / 1.351 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.5872, allocations: 154.6 kB / 1.351 GB, free: 4.109 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.5873, allocations: 154.5 kB / 1.351 GB, free: 3.957 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.5874, allocations: 101 kB / 1.351 GB, free: 3.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/0.5875, allocations: 75.28 kB / 1.352 GB, free: 3.777 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.5876, allocations: 154.5 kB / 1.352 GB, free: 3.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.5877, allocations: 158.5 kB / 1.352 GB, free: 3.469 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.5878, allocations: 158.6 kB / 1.352 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.5898, allocations: 1.111 MB / 1.353 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.59, allocations: 173.1 kB / 1.353 GB, free: 1.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.59, allocations: 84.14 kB / 1.353 GB, free: 1.895 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.5901, allocations: 79.28 kB / 1.353 GB, free: 1.816 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.114e-05/0.5902, allocations: 109.8 kB / 1.353 GB, free: 1.699 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 2.214e-06/0.5902, allocations: 0 / 1.353 GB, free: 1.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0004242/0.5906, allocations: 244.2 kB / 1.354 GB, free: 1.453 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.5907, allocations: 130.6 kB / 1.354 GB, free: 1.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.5958, allocations: 2.856 MB / 1.357 GB, free: 14.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.5958, allocations: 25.7 kB / 1.357 GB, free: 14.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/0.597, allocations: 0.9067 MB / 1.358 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.597, allocations: 0 / 1.358 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.5971, allocations: 9.719 kB / 1.358 GB, free: 13.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002621/0.5974, allocations: 310 kB / 1.358 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.5974, allocations: 0 / 1.358 GB, free: 13.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.5974, allocations: 3.938 kB / 1.358 GB, free: 13.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.337e-05/0.5974, allocations: 79.28 kB / 1.358 GB, free: 13.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.524e-05/0.5975, allocations: 75.28 kB / 1.358 GB, free: 13.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0004573/0.598, allocations: 240.2 kB / 1.358 GB, free: 12.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.783e-05/0.5981, allocations: 83.28 kB / 1.358 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.421e-05/0.5981, allocations: 83.2 kB / 1.358 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.5983, allocations: 154.5 kB / 1.359 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.5984, allocations: 79.22 kB / 1.359 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001274/0.5985, allocations: 158.6 kB / 1.359 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/0.5994, allocations: 95.19 kB / 1.359 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.5994, allocations: 83.22 kB / 1.359 GB, free: 12.05 MB / 1.061 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.001376/0.6008, allocations: 0.9411 MB / 1.36 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.6012, allocations: 319.5 kB / 1.36 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.6016, allocations: 341.1 kB / 1.36 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.784e-05/0.6017, allocations: 184.2 kB / 1.361 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001328/0.6018, allocations: 184.3 kB / 1.361 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.02e-05/0.6019, allocations: 180.2 kB / 1.361 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.6035, allocations: 1.06 MB / 1.362 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-05/0.6035, allocations: 104.9 kB / 1.362 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.6036, allocations: 101 kB / 1.362 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000123/0.6037, allocations: 184.2 kB / 1.362 GB, free: 8.363 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.284e-05/0.6038, allocations: 176.3 kB / 1.363 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001264/0.6039, allocations: 184.2 kB / 1.363 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.672e-05/0.604, allocations: 188.2 kB / 1.363 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/0.6045, allocations: 0.5106 MB / 1.363 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/0.6052, allocations: 299.5 kB / 1.364 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/0.6056, allocations: 180.7 kB / 1.364 GB, free: 6.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/0.6064, allocations: 128.8 kB / 1.364 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.6065, allocations: 180.3 kB / 1.364 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/0.6066, allocations: 105 kB / 1.364 GB, free: 6.359 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004563/0.6111, allocations: 2.091 MB / 1.366 GB, free: 4.262 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.6111, allocations: 0 / 1.366 GB, free: 4.262 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009735/0.6121, allocations: 184 kB / 1.366 GB, free: 4.082 MB / 1.061 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.000249/0.6124, allocations: 167.3 kB / 1.367 GB, free: 3.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.6125, allocations: 12.02 kB / 1.367 GB, free: 3.895 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.6125, allocations: 0 / 1.367 GB, free: 3.895 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-06/0.6125, allocations: 0 / 1.367 GB, free: 3.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007275/0.6198, allocations: 2.353 MB / 1.369 GB, free: 1.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.6264, allocations: 3.533 MB / 1.372 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/0.6288, allocations: 1.715 MB / 1.374 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002107/0.6309, allocations: 435.5 kB / 1.374 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.6312, allocations: 107.4 kB / 1.375 GB, free: 11.73 MB / 1.076 GB Notification: Performance of SimCode: time 1.643e-06/0.6312, allocations: 4 kB / 1.375 GB, free: 11.73 MB / 1.076 GB Notification: Performance of Templates: time 0.09142/0.7226, allocations: 49.84 MB / 1.423 GB, free: 10.96 MB / 1.123 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.304376324638724]