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.001324/0.001324, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009789/0.0009789, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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 0.9914/0.9914, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.768/1.768, allocations: 359 MB / 0.6055 GB, free: 10.86 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.653e-06/1.653e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.444e-05, allocations: 8.703 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.003623/0.003638, allocations: 3.748 MB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006237/0.009875, allocations: 6.254 MB / 0.7973 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.01017, allocations: 32.72 kB / 0.7973 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.01345, allocations: 1.91 MB / 0.7992 GB, free: 280 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.01411, allocations: 0.5871 MB / 0.7998 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 1.776e-05/0.01413, allocations: 0 / 0.7998 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02033/0.03446, allocations: 23.89 MB / 0.8231 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.03462, allocations: 42.62 kB / 0.8231 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009526/0.03557, allocations: 0.7595 MB / 0.8239 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007048/0.03628, allocations: 0.5449 MB / 0.8244 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.03635, allocations: 23.94 kB / 0.8244 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.03649, allocations: 20 kB / 0.8245 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.03695, allocations: 0.8065 MB / 0.8252 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.03728, allocations: 442.7 kB / 0.8257 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008604/0.03814, allocations: 1.218 MB / 0.8269 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.03815, allocations: 0 / 0.8269 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.03815, allocations: 0 / 0.8269 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.611e-05/0.03817, allocations: 0 / 0.8269 GB, free: 3.902 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.002195/0.04037, allocations: 2.537 MB / 0.8293 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.04041, allocations: 8.031 kB / 0.8293 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.04063, allocations: 337.7 kB / 0.8297 GB, free: 0.9766 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.04251, allocations: 1.997 MB / 0.8316 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.04257, allocations: 246.4 kB / 0.8318 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.04263, allocations: 238.4 kB / 0.8321 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.735e-05/0.0427, allocations: 144.9 kB / 0.8322 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.04273, allocations: 119.2 kB / 0.8323 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.04279, allocations: 242.4 kB / 0.8326 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.04285, allocations: 242.3 kB / 0.8328 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.04291, allocations: 238.4 kB / 0.833 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.04386, allocations: 1.226 MB / 0.8342 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.401e-05/0.04395, allocations: 265.4 kB / 0.8345 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.04398, allocations: 126.9 kB / 0.8346 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.04401, allocations: 119.2 kB / 0.8347 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.04405, allocations: 160.5 kB / 0.8349 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.603e-06/0.04405, allocations: 0 / 0.8349 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 0.0001799/0.04423, allocations: 240.2 kB / 0.8351 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.04428, allocations: 170.6 kB / 0.8352 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.04636, allocations: 2.756 MB / 0.8379 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.04637, allocations: 29.7 kB / 0.838 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.04743, allocations: 1.308 MB / 0.8392 GB, free: 6.977 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.04743, allocations: 4 kB / 0.8392 GB, free: 6.973 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.04746, allocations: 19.38 kB / 0.8393 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.04756, allocations: 488.4 kB / 0.8397 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-06/0.04756, allocations: 0 / 0.8397 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.04757, allocations: 0 / 0.8397 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.0476, allocations: 127.1 kB / 0.8399 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/0.04762, allocations: 123.2 kB / 0.84 GB, free: 6.215 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001605/0.04778, allocations: 240.2 kB / 0.8402 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.04782, allocations: 123.2 kB / 0.8403 GB, free: 5.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.04785, allocations: 123.2 kB / 0.8404 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/0.04791, allocations: 250.3 kB / 0.8407 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.746e-05/0.04793, allocations: 119.2 kB / 0.8408 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-05/0.04798, allocations: 250.2 kB / 0.841 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.04822, allocations: 131.2 kB / 0.8411 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.04824, allocations: 123.2 kB / 0.8413 GB, free: 4.871 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.0002031/0.04845, allocations: 394.9 kB / 0.8416 GB, free: 4.473 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.04859, allocations: 363.4 kB / 0.842 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.04878, allocations: 317.1 kB / 0.8423 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-05/0.04884, allocations: 268 kB / 0.8425 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.695e-05/0.04889, allocations: 272.3 kB / 0.8428 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.413e-05/0.04895, allocations: 268.1 kB / 0.8431 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.04972, allocations: 1.208 MB / 0.8442 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/0.04975, allocations: 144.9 kB / 0.8444 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.04979, allocations: 148.8 kB / 0.8445 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.476e-05/0.04984, allocations: 272.1 kB / 0.8448 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.0499, allocations: 272 kB / 0.845 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.313e-05/0.04995, allocations: 264.1 kB / 0.8453 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.432e-05/0.05001, allocations: 272.1 kB / 0.8456 GB, free: 356 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.0504, allocations: 0.6523 MB / 0.8462 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/0.05059, allocations: 343.3 kB / 0.8465 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.05073, allocations: 272.1 kB / 0.8468 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.05095, allocations: 148.9 kB / 0.8469 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.05101, allocations: 268 kB / 0.8472 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.05104, allocations: 156.9 kB / 0.8473 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009937/0.05203, allocations: 1.341 MB / 0.8486 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.05203, allocations: 0 / 0.8486 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000298/0.05233, allocations: 180 kB / 0.8488 GB, free: 12.95 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.0001128/0.05244, allocations: 214.4 kB / 0.849 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.598e-05/0.05248, allocations: 11.94 kB / 0.849 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.05248, allocations: 0 / 0.849 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.05248, allocations: 0 / 0.849 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.05563, allocations: 2.609 MB / 0.8516 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.05837, allocations: 2.754 MB / 0.8543 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.05873, allocations: 0.4958 MB / 0.8547 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007096/0.05944, allocations: 295.6 kB / 0.855 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/0.06118, allocations: 1.227 MB / 0.8562 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of SimCode: time 1.172e-06/0.06118, allocations: 0 / 0.8562 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of Templates: time 0.0543/0.1155, allocations: 58.07 MB / 0.9129 GB, free: 12.85 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.68614661693573]