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.001485/0.001485, allocations: 84.41 kB / 20.23 MB, free: 4.191 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.001764/0.001764, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 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.482/1.482, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.821/2.821, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.249e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005675/0.005708, allocations: 3.505 MB / 0.7898 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.01665, allocations: 5.891 MB / 0.7955 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.0172, allocations: 31.81 kB / 0.7955 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005972/0.02318, allocations: 1.906 MB / 0.7974 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.0251, allocations: 0.5791 MB / 0.798 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.02522, allocations: 4 kB / 0.798 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.04223/0.06745, allocations: 23.99 MB / 0.8214 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.0678, allocations: 46.62 kB / 0.8215 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.06998, allocations: 0.7244 MB / 0.8222 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.07143, allocations: 0.5878 MB / 0.8227 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.07166, allocations: 32 kB / 0.8228 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.07213, allocations: 28 kB / 0.8228 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.07326, allocations: 0.8102 MB / 0.8236 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.07441, allocations: 466.6 kB / 0.824 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.07743, allocations: 1.985 MB / 0.826 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.07743, allocations: 0 / 0.826 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.535e-06/0.07744, allocations: 0 / 0.826 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.587e-05/0.07752, allocations: 0 / 0.826 GB, free: 4.246 MB / 0.7761 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.005639/0.08316, allocations: 2.159 MB / 0.8281 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.08321, allocations: 12.03 kB / 0.8281 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.08378, allocations: 293.7 kB / 0.8284 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/0.08896, allocations: 2.45 MB / 0.8308 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.08905, allocations: 150.6 kB / 0.8309 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.84e-05/0.08912, allocations: 154.6 kB / 0.8311 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.08922, allocations: 101 kB / 0.8311 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.08926, allocations: 75.28 kB / 0.8312 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/0.08935, allocations: 150.6 kB / 0.8314 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.823e-05/0.08944, allocations: 150.6 kB / 0.8315 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.08952, allocations: 158.5 kB / 0.8317 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.09107, allocations: 1.057 MB / 0.8327 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.09118, allocations: 169.1 kB / 0.8329 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.09124, allocations: 80.14 kB / 0.8329 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.09129, allocations: 75.28 kB / 0.833 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/0.09137, allocations: 113.8 kB / 0.8331 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.09137, allocations: 0 / 0.8331 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 0.0003374/0.09171, allocations: 244.2 kB / 0.8333 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.0918, allocations: 130.6 kB / 0.8335 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/0.09627, allocations: 2.852 MB / 0.8363 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.0963, allocations: 25.7 kB / 0.8363 GB, free: 9.469 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.09736, allocations: 0.9067 MB / 0.8372 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.09736, allocations: 0 / 0.8372 GB, free: 8.559 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.0974, allocations: 9.719 kB / 0.8372 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.09759, allocations: 313.9 kB / 0.8375 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.0976, allocations: 0 / 0.8375 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-06/0.0976, allocations: 0 / 0.8375 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.09765, allocations: 79.28 kB / 0.8375 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.341e-05/0.09769, allocations: 79.22 kB / 0.8376 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003327/0.09802, allocations: 248.2 kB / 0.8379 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/0.09809, allocations: 85.16 kB / 0.8379 GB, free: 7.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.796e-05/0.09814, allocations: 75.28 kB / 0.838 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.09825, allocations: 158.5 kB / 0.8382 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.09829, allocations: 79.28 kB / 0.8382 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.123e-05/0.09839, allocations: 158.5 kB / 0.8384 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/0.09902, allocations: 91.25 kB / 0.8385 GB, free: 7.188 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.09908, allocations: 79.27 kB / 0.8386 GB, free: 7.109 MB / 0.7917 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.00123/0.1003, allocations: 0.9527 MB / 0.8395 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.1007, allocations: 323.5 kB / 0.8398 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.1011, allocations: 341.2 kB / 0.8401 GB, free: 5.477 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/0.1012, allocations: 184.2 kB / 0.8403 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001102/0.1013, allocations: 176.3 kB / 0.8405 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001043/0.1014, allocations: 180.2 kB / 0.8406 GB, free: 4.926 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.1028, allocations: 1.005 MB / 0.8416 GB, free: 3.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.36e-05/0.1028, allocations: 101.3 kB / 0.8417 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.1029, allocations: 108.9 kB / 0.8418 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.103, allocations: 176.3 kB / 0.842 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.1031, allocations: 180.3 kB / 0.8422 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001152/0.1032, allocations: 184.2 kB / 0.8423 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-05/0.1033, allocations: 180.2 kB / 0.8425 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.1038, allocations: 0.5262 MB / 0.843 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.1043, allocations: 303.4 kB / 0.8433 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.1045, allocations: 180.3 kB / 0.8435 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.1051, allocations: 117 kB / 0.8436 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1052, allocations: 184.1 kB / 0.8438 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.1053, allocations: 101 kB / 0.8439 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003359/0.1086, allocations: 2.091 MB / 0.8459 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1086, allocations: 4 kB / 0.8459 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005459/0.1092, allocations: 180 kB / 0.8461 GB, free: 15.2 MB / 0.8073 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.0001919/0.1094, allocations: 170.5 kB / 0.8462 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.769e-05/0.1094, allocations: 7.938 kB / 0.8462 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1094, allocations: 0 / 0.8462 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.1094, allocations: 0 / 0.8462 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006059/0.1155, allocations: 2.355 MB / 0.8485 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005401/0.1209, allocations: 3.537 MB / 0.852 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.1224, allocations: 1.128 MB / 0.8531 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001536/0.124, allocations: 435.5 kB / 0.8535 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.1241, allocations: 112.5 kB / 0.8536 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of SimCode: time 1.303e-06/0.1241, allocations: 4 kB / 0.8536 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of Templates: time 0.09871/0.2229, allocations: 54.15 MB / 0.9065 GB, free: 2.691 MB / 0.8542 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 9.321809042012319]