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.001113/0.001113, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001216/0.001216, allocations: 169 kB / 24.28 MB, free: 268 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.9685/0.9685, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.764/1.764, allocations: 359 MB / 0.6055 GB, free: 11.03 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.864e-06/1.864e-06, allocations: 0 / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.255e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005108/0.005141, allocations: 3.799 MB / 0.7908 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.008485/0.01363, allocations: 6.306 MB / 0.7969 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.0139, allocations: 35.81 kB / 0.797 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.01738, allocations: 1.891 MB / 0.7988 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00054/0.01792, allocations: 0.5902 MB / 0.7994 GB, free: 220 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 1.629e-05/0.01794, allocations: 9.125 kB / 0.7994 GB, free: 212 kB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02227/0.0402, allocations: 23.99 MB / 0.8228 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.04039, allocations: 46.62 kB / 0.8229 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.0413, allocations: 0.7283 MB / 0.8236 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.04178, allocations: 0.5878 MB / 0.8242 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.04183, allocations: 28 kB / 0.8242 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.04196, allocations: 32 kB / 0.8242 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.04243, allocations: 0.8143 MB / 0.825 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.04279, allocations: 462.6 kB / 0.8254 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.04369, allocations: 1.245 MB / 0.8267 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.04369, allocations: 4 kB / 0.8267 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.693e-06/0.0437, allocations: 0 / 0.8267 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.04371, allocations: 0 / 0.8267 GB, free: 4.227 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.001898/0.0456, allocations: 2.53 MB / 0.8291 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.04565, allocations: 12.02 kB / 0.8291 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.04582, allocations: 337.7 kB / 0.8295 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.04761, allocations: 2.122 MB / 0.8315 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.04768, allocations: 242.3 kB / 0.8318 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.04774, allocations: 242.4 kB / 0.832 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.233e-05/0.04781, allocations: 144.9 kB / 0.8321 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.04785, allocations: 123.2 kB / 0.8323 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.04791, allocations: 238.4 kB / 0.8325 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.04798, allocations: 238.4 kB / 0.8327 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.04804, allocations: 242.4 kB / 0.8329 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.0492, allocations: 1.809 MB / 0.8347 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.04928, allocations: 265.4 kB / 0.835 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.04932, allocations: 126.9 kB / 0.8351 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.04934, allocations: 123.2 kB / 0.8352 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.04939, allocations: 152.6 kB / 0.8353 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/0.04939, allocations: 0 / 0.8353 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 0.0001767/0.04956, allocations: 252.2 kB / 0.8356 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.04962, allocations: 170.6 kB / 0.8358 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.052, allocations: 2.804 MB / 0.8385 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.05201, allocations: 25.7 kB / 0.8385 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008396/0.05285, allocations: 1.266 MB / 0.8397 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.05285, allocations: 0 / 0.8397 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.05287, allocations: 15.38 kB / 0.8398 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.05298, allocations: 492.4 kB / 0.8402 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-06/0.05299, allocations: 4 kB / 0.8402 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-06/0.05299, allocations: 0 / 0.8402 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.05302, allocations: 119.2 kB / 0.8404 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/0.05304, allocations: 123.2 kB / 0.8405 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001587/0.0532, allocations: 248.2 kB / 0.8407 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.05324, allocations: 131.1 kB / 0.8408 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.05327, allocations: 119.2 kB / 0.8409 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.457e-05/0.05334, allocations: 242.4 kB / 0.8412 GB, free: 5.094 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-05/0.05337, allocations: 127.1 kB / 0.8413 GB, free: 4.969 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-05/0.05342, allocations: 242.4 kB / 0.8415 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.05367, allocations: 131.1 kB / 0.8417 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.05369, allocations: 127.2 kB / 0.8418 GB, free: 4.477 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.0002062/0.0539, allocations: 402.9 kB / 0.8422 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.05406, allocations: 363.4 kB / 0.8425 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.05424, allocations: 317.1 kB / 0.8428 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/0.0543, allocations: 268.1 kB / 0.8431 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.115e-05/0.05437, allocations: 272.2 kB / 0.8433 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.366e-05/0.05444, allocations: 268.1 kB / 0.8436 GB, free: 2.574 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.05565, allocations: 1.748 MB / 0.8453 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.332e-05/0.05568, allocations: 144.9 kB / 0.8454 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.05571, allocations: 144.9 kB / 0.8456 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-05/0.05578, allocations: 276 kB / 0.8458 GB, free: 216 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.05585, allocations: 268.1 kB / 0.8461 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-05/0.05591, allocations: 272 kB / 0.8463 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-05/0.05597, allocations: 268.1 kB / 0.8466 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.05623, allocations: 0.6601 MB / 0.8472 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.05643, allocations: 335.4 kB / 0.8476 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.0566, allocations: 268 kB / 0.8478 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.05683, allocations: 152.9 kB / 0.848 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.05689, allocations: 272.1 kB / 0.8482 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.05693, allocations: 152.8 kB / 0.8484 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001318/0.05825, allocations: 1.451 MB / 0.8498 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.05825, allocations: 4 kB / 0.8498 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000318/0.05857, allocations: 180 kB / 0.85 GB, free: 11.88 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.0001247/0.05869, allocations: 214.4 kB / 0.8502 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.534e-05/0.05874, allocations: 0 / 0.8502 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.05874, allocations: 0 / 0.8502 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.05874, allocations: 0 / 0.8502 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/0.06196, allocations: 2.624 MB / 0.8527 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.06456, allocations: 2.75 MB / 0.8554 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.06491, allocations: 0.4998 MB / 0.8559 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007335/0.06564, allocations: 315.5 kB / 0.8562 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.06574, allocations: 120.5 kB / 0.8563 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of SimCode: time 9.91e-07/0.06575, allocations: 0 / 0.8563 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of Templates: time 0.05116/0.1169, allocations: 53.54 MB / 0.9086 GB, free: 1.211 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=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.672982146032155]