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.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.001027/0.001027, 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.001084/0.001084, 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.908/1.908, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.785e-05, allocations: 7.562 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005475/0.005503, allocations: 3.765 MB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009379/0.01488, allocations: 6.298 MB / 0.8226 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.01539, allocations: 37.16 kB / 0.8226 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.01912, allocations: 1.941 MB / 0.8245 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.01997, allocations: 0.6452 MB / 0.8251 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 1.82e-05/0.01999, allocations: 0 / 0.8251 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.02045/0.04045, allocations: 22.63 MB / 0.8472 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.04067, allocations: 42.62 kB / 0.8473 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.04168, allocations: 0.7088 MB / 0.848 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.04221, allocations: 0.5488 MB / 0.8485 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.04227, allocations: 20 kB / 0.8485 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.0424, allocations: 24 kB / 0.8486 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.04286, allocations: 0.8065 MB / 0.8493 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.04321, allocations: 450.7 kB / 0.8498 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008755/0.04409, allocations: 1.218 MB / 0.851 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.04409, allocations: 3.984 kB / 0.851 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.0441, allocations: 0 / 0.851 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.04411, allocations: 0 / 0.851 GB, free: 10.3 MB / 0.8073 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.002152/0.04626, allocations: 2.541 MB / 0.8534 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.0463, allocations: 8.031 kB / 0.8535 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.04646, allocations: 337.7 kB / 0.8538 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.04806, allocations: 1.997 MB / 0.8557 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.04812, allocations: 238.4 kB / 0.856 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.04816, allocations: 242.4 kB / 0.8562 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.04822, allocations: 148.9 kB / 0.8563 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.04824, allocations: 119.2 kB / 0.8564 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.04829, allocations: 242.3 kB / 0.8567 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.04834, allocations: 238.4 kB / 0.8569 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.04839, allocations: 246.4 kB / 0.8571 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.04917, allocations: 1.214 MB / 0.8583 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.226e-05/0.04925, allocations: 269.4 kB / 0.8586 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.04928, allocations: 126.9 kB / 0.8587 GB, free: 2.195 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.04931, allocations: 123.1 kB / 0.8588 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.04935, allocations: 152.6 kB / 0.859 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.04935, allocations: 0 / 0.859 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0004255/0.04978, allocations: 240.2 kB / 0.8592 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.04983, allocations: 170.6 kB / 0.8594 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.0519, allocations: 2.76 MB / 0.862 GB, free: 14.72 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.05191, allocations: 29.7 kB / 0.8621 GB, free: 14.68 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008569/0.05277, allocations: 1.308 MB / 0.8634 GB, free: 13.37 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.05277, allocations: 0 / 0.8634 GB, free: 13.37 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.05279, allocations: 15.38 kB / 0.8634 GB, free: 13.35 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.0529, allocations: 492.4 kB / 0.8638 GB, free: 12.86 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-06/0.05291, allocations: 0 / 0.8638 GB, free: 12.86 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.05291, allocations: 3.938 kB / 0.8638 GB, free: 12.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.05294, allocations: 119.2 kB / 0.864 GB, free: 12.74 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/0.05296, allocations: 119.2 kB / 0.8641 GB, free: 12.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001842/0.05315, allocations: 248.2 kB / 0.8643 GB, free: 12.37 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.05319, allocations: 127.2 kB / 0.8644 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.05322, allocations: 123.2 kB / 0.8645 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.353e-05/0.05327, allocations: 242.4 kB / 0.8648 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.0533, allocations: 131.2 kB / 0.8649 GB, free: 11.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-05/0.05334, allocations: 242.3 kB / 0.8651 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.05361, allocations: 127.2 kB / 0.8653 GB, free: 11.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.05363, allocations: 119.2 kB / 0.8654 GB, free: 11.28 MB / 0.823 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.0001999/0.05383, allocations: 406.8 kB / 0.8658 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.05398, allocations: 359.4 kB / 0.8661 GB, free: 10.51 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.05416, allocations: 317.1 kB / 0.8664 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.211e-05/0.05422, allocations: 272.2 kB / 0.8667 GB, free: 9.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.157e-05/0.05427, allocations: 272.1 kB / 0.8669 GB, free: 9.637 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.476e-05/0.05432, allocations: 272 kB / 0.8672 GB, free: 9.363 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.05511, allocations: 1.189 MB / 0.8683 GB, free: 8.141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.05514, allocations: 148.9 kB / 0.8685 GB, free: 7.988 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.05517, allocations: 160.8 kB / 0.8686 GB, free: 7.824 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.956e-05/0.05522, allocations: 264.1 kB / 0.8689 GB, free: 7.559 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.05528, allocations: 268 kB / 0.8691 GB, free: 7.289 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.038e-05/0.05533, allocations: 268.1 kB / 0.8694 GB, free: 7.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.962e-05/0.05538, allocations: 264.1 kB / 0.8696 GB, free: 6.754 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.05564, allocations: 0.6679 MB / 0.8703 GB, free: 6.059 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.05585, allocations: 335.4 kB / 0.8706 GB, free: 5.723 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.05601, allocations: 272.1 kB / 0.8709 GB, free: 5.449 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.05626, allocations: 148.9 kB / 0.871 GB, free: 5.297 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.05632, allocations: 276 kB / 0.8713 GB, free: 5.02 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.05636, allocations: 144.9 kB / 0.8714 GB, free: 4.871 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001055/0.05741, allocations: 1.349 MB / 0.8727 GB, free: 3.516 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.05741, allocations: 0 / 0.8727 GB, free: 3.516 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003156/0.05773, allocations: 176 kB / 0.8729 GB, free: 3.344 MB / 0.823 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.0001228/0.05785, allocations: 222.4 kB / 0.8731 GB, free: 3.113 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 3.679e-05/0.05789, allocations: 3.938 kB / 0.8731 GB, free: 3.109 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.05789, allocations: 0 / 0.8731 GB, free: 3.109 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.51e-07/0.05789, allocations: 4 kB / 0.8731 GB, free: 3.105 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/0.06122, allocations: 2.616 MB / 0.8757 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.06389, allocations: 2.757 MB / 0.8784 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.06453, allocations: 0.5036 MB / 0.8789 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008931/0.06542, allocations: 287.6 kB / 0.8791 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/0.0674, allocations: 1.231 MB / 0.8803 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of SimCode: time 1.183e-06/0.0674, allocations: 4 kB / 0.8803 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.0591/0.1265, allocations: 58.53 MB / 0.9375 GB, free: 2.617 MB / 0.8855 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.941534442361444]