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.0009689/0.0009689, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001285/0.001285, allocations: 164.7 kB / 24.87 MB, free: 8.891 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.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.747/1.747, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.[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_11_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_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7883 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.612e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003774/0.0038, allocations: 3.763 MB / 0.792 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006516/0.01032, allocations: 6.252 MB / 0.7981 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.01065, allocations: 31.81 kB / 0.7981 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.01441, allocations: 1.905 MB / 0.8 GB, free: 344 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007913/0.0152, allocations: 0.5829 MB / 0.8005 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 1.814e-05/0.01522, allocations: 5.094 kB / 0.8005 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02212/0.03734, allocations: 23.89 MB / 0.8239 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.0376, allocations: 42.56 kB / 0.8239 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.03868, allocations: 0.7517 MB / 0.8246 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006847/0.03936, allocations: 0.5488 MB / 0.8252 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.03943, allocations: 24 kB / 0.8252 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.03958, allocations: 20 kB / 0.8252 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004902/0.04007, allocations: 0.7987 MB / 0.826 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.04048, allocations: 458.6 kB / 0.8264 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009539/0.04143, allocations: 1.214 MB / 0.8276 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.04144, allocations: 4 kB / 0.8276 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.04144, allocations: 0 / 0.8276 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.619e-05/0.04146, allocations: 0 / 0.8276 GB, free: 3.957 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.002022/0.04349, allocations: 2.525 MB / 0.8301 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.04353, allocations: 8.031 kB / 0.8301 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.0437, allocations: 345.6 kB / 0.8304 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.04549, allocations: 2.001 MB / 0.8324 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.04555, allocations: 238.4 kB / 0.8326 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.04559, allocations: 238.4 kB / 0.8328 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.941e-05/0.04565, allocations: 152.8 kB / 0.833 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.04568, allocations: 123.2 kB / 0.8331 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.04574, allocations: 238.4 kB / 0.8333 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/0.0458, allocations: 238.4 kB / 0.8335 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.04585, allocations: 238.4 kB / 0.8338 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.04672, allocations: 1.218 MB / 0.835 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.04681, allocations: 269.4 kB / 0.8352 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.04684, allocations: 126.9 kB / 0.8353 GB, free: 11.86 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.04687, allocations: 119.2 kB / 0.8355 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.04691, allocations: 152.6 kB / 0.8356 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 2.224e-06/0.04692, allocations: 0 / 0.8356 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 0.0001971/0.04711, allocations: 252.2 kB / 0.8358 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.04717, allocations: 170.6 kB / 0.836 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.04922, allocations: 2.76 MB / 0.8387 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.04923, allocations: 25.7 kB / 0.8387 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009672/0.0502, allocations: 1.308 MB / 0.84 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.0502, allocations: 0 / 0.84 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.05022, allocations: 15.38 kB / 0.84 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.05033, allocations: 488.4 kB / 0.8405 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-06/0.05033, allocations: 4 kB / 0.8405 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.05034, allocations: 0 / 0.8405 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.05036, allocations: 127.2 kB / 0.8406 GB, free: 6.398 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/0.05039, allocations: 123.2 kB / 0.8407 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001619/0.05055, allocations: 240.2 kB / 0.841 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.05059, allocations: 127.2 kB / 0.8411 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.05061, allocations: 131.2 kB / 0.8412 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-05/0.05067, allocations: 242.4 kB / 0.8414 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.493e-05/0.05069, allocations: 127.1 kB / 0.8415 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.561e-05/0.05074, allocations: 242.4 kB / 0.8418 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.05102, allocations: 123.2 kB / 0.8419 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.05104, allocations: 123.1 kB / 0.842 GB, free: 4.938 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.0002089/0.05125, allocations: 402.9 kB / 0.8424 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.0514, allocations: 359.4 kB / 0.8427 GB, free: 4.172 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.05158, allocations: 321 kB / 0.843 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/0.05163, allocations: 272.1 kB / 0.8433 GB, free: 3.574 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.644e-05/0.05169, allocations: 264.3 kB / 0.8436 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.653e-05/0.05175, allocations: 268 kB / 0.8438 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.05254, allocations: 1.2 MB / 0.845 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/0.05257, allocations: 148.8 kB / 0.8451 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.0526, allocations: 148.9 kB / 0.8453 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.949e-05/0.05266, allocations: 268.1 kB / 0.8455 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.05272, allocations: 272 kB / 0.8458 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-05/0.05278, allocations: 268.1 kB / 0.846 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-05/0.05283, allocations: 268 kB / 0.8463 GB, free: 428 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.05316, allocations: 0.6679 MB / 0.8469 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.05336, allocations: 327.4 kB / 0.8473 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.05351, allocations: 276.1 kB / 0.8475 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.05376, allocations: 156.8 kB / 0.8477 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.05382, allocations: 268.1 kB / 0.8479 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.05385, allocations: 148.8 kB / 0.8481 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001083/0.05494, allocations: 1.349 MB / 0.8494 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.05494, allocations: 4 kB / 0.8494 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003097/0.05525, allocations: 176 kB / 0.8496 GB, free: 13 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.0001399/0.05539, allocations: 214.4 kB / 0.8498 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.67e-05/0.05542, allocations: 0 / 0.8498 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.05542, allocations: 0 / 0.8498 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.05543, allocations: 0 / 0.8498 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.05856, allocations: 2.62 MB / 0.8523 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.06139, allocations: 2.75 MB / 0.855 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.06175, allocations: 0.4997 MB / 0.8555 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0008287/0.06258, allocations: 287.6 kB / 0.8558 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001835/0.06442, allocations: 1.235 MB / 0.857 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of SimCode: time 1.713e-06/0.06442, allocations: 0 / 0.857 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of Templates: time 0.05786/0.1223, allocations: 58.54 MB / 0.9141 GB, free: 12.23 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.892385929822922]