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.001062/0.001062, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001117/0.001117, allocations: 165 kB / 23.82 MB, free: 0.7422 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.02/1.02, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.154e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.004128/0.004149, allocations: 3.833 MB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.008083/0.01223, allocations: 6.385 MB / 0.8215 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.01267, allocations: 31.81 kB / 0.8215 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004191/0.01687, allocations: 1.95 MB / 0.8234 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008945/0.01776, allocations: 0.6426 MB / 0.8241 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.182e-05/0.01778, allocations: 4 kB / 0.8241 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01956/0.03734, allocations: 22.75 MB / 0.8463 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.03756, allocations: 46.62 kB / 0.8463 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009741/0.03853, allocations: 0.7166 MB / 0.847 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/0.03919, allocations: 0.5488 MB / 0.8476 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.052e-05/0.03928, allocations: 20 kB / 0.8476 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.03945, allocations: 24 kB / 0.8476 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005138/0.03996, allocations: 0.7987 MB / 0.8484 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.0404, allocations: 454.6 kB / 0.8488 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.04142, allocations: 1.226 MB / 0.85 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.04143, allocations: 4 kB / 0.85 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.903e-06/0.04143, allocations: 0 / 0.85 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.221e-05/0.04147, allocations: 0 / 0.85 GB, free: 10.25 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.002366/0.04384, allocations: 2.526 MB / 0.8525 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.04389, allocations: 12.03 kB / 0.8525 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.0441, allocations: 337.7 kB / 0.8528 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.04605, allocations: 2.028 MB / 0.8548 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.0461, allocations: 242.4 kB / 0.855 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.04615, allocations: 246.3 kB / 0.8553 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.188e-05/0.04621, allocations: 148.9 kB / 0.8554 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.04624, allocations: 119.2 kB / 0.8555 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.04629, allocations: 238.4 kB / 0.8557 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.04634, allocations: 242.4 kB / 0.856 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.865e-05/0.04639, allocations: 246.4 kB / 0.8562 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.04771, allocations: 1.801 MB / 0.858 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/0.04779, allocations: 269.4 kB / 0.8582 GB, free: 1.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.04783, allocations: 134.9 kB / 0.8583 GB, free: 1.523 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.04786, allocations: 119.2 kB / 0.8585 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.0479, allocations: 156.6 kB / 0.8586 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.0479, allocations: 0 / 0.8586 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0002125/0.04811, allocations: 244.2 kB / 0.8588 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.04817, allocations: 170.6 kB / 0.859 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.05065, allocations: 2.808 MB / 0.8617 GB, free: 14 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.05066, allocations: 25.7 kB / 0.8618 GB, free: 13.96 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.0515, allocations: 1.262 MB / 0.863 GB, free: 12.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.0515, allocations: 0 / 0.863 GB, free: 12.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.05152, allocations: 23.36 kB / 0.863 GB, free: 12.67 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.05162, allocations: 488.4 kB / 0.8635 GB, free: 12.18 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.05163, allocations: 4 kB / 0.8635 GB, free: 12.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.05163, allocations: 3.938 kB / 0.8635 GB, free: 12.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.05166, allocations: 119.2 kB / 0.8636 GB, free: 12.06 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-05/0.05168, allocations: 123.2 kB / 0.8637 GB, free: 11.94 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001805/0.05186, allocations: 244.2 kB / 0.864 GB, free: 11.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.0519, allocations: 129.8 kB / 0.8641 GB, free: 11.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.05192, allocations: 119.2 kB / 0.8642 GB, free: 11.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.502e-05/0.05198, allocations: 242.4 kB / 0.8644 GB, free: 11.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.853e-05/0.05201, allocations: 127.1 kB / 0.8646 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.026e-05/0.05206, allocations: 246.3 kB / 0.8648 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.05235, allocations: 131.1 kB / 0.8649 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.05238, allocations: 127.1 kB / 0.865 GB, free: 10.59 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.0001968/0.05258, allocations: 395 kB / 0.8654 GB, free: 10.19 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.05273, allocations: 363.4 kB / 0.8658 GB, free: 9.828 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.0529, allocations: 317 kB / 0.8661 GB, free: 9.504 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.092e-05/0.05295, allocations: 268.3 kB / 0.8663 GB, free: 9.234 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.275e-05/0.053, allocations: 280 kB / 0.8666 GB, free: 8.953 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.162e-05/0.05305, allocations: 268.1 kB / 0.8668 GB, free: 8.684 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.0543, allocations: 1.741 MB / 0.8685 GB, free: 6.902 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.05433, allocations: 152.8 kB / 0.8687 GB, free: 6.746 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.977e-05/0.05436, allocations: 148.9 kB / 0.8688 GB, free: 6.594 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.584e-05/0.05441, allocations: 268 kB / 0.8691 GB, free: 6.324 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.05447, allocations: 268.1 kB / 0.8693 GB, free: 6.055 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-05/0.05453, allocations: 268.1 kB / 0.8696 GB, free: 5.785 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-05/0.05458, allocations: 272 kB / 0.8699 GB, free: 5.512 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.05482, allocations: 0.6562 MB / 0.8705 GB, free: 4.828 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.05502, allocations: 343.4 kB / 0.8708 GB, free: 4.484 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.05517, allocations: 268 kB / 0.8711 GB, free: 4.215 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.05541, allocations: 152.9 kB / 0.8712 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.05547, allocations: 276.1 kB / 0.8715 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.0555, allocations: 152.8 kB / 0.8716 GB, free: 3.625 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001329/0.05683, allocations: 1.451 MB / 0.8731 GB, free: 2.168 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.05683, allocations: 0 / 0.8731 GB, free: 2.168 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003105/0.05714, allocations: 180 kB / 0.8732 GB, free: 1.992 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.0001186/0.05726, allocations: 214.4 kB / 0.8734 GB, free: 1.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 4.663e-05/0.05731, allocations: 3.938 kB / 0.8734 GB, free: 1.766 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.05731, allocations: 0 / 0.8734 GB, free: 1.766 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.05731, allocations: 3.938 kB / 0.8734 GB, free: 1.762 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.06059, allocations: 2.61 MB / 0.876 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.06318, allocations: 2.754 MB / 0.8787 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.06352, allocations: 0.4958 MB / 0.8792 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000826/0.06434, allocations: 323.5 kB / 0.8795 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.06444, allocations: 108.5 kB / 0.8796 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of SimCode: time 1.443e-06/0.06444, allocations: 0 / 0.8796 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.05439/0.1188, allocations: 57 MB / 0.9352 GB, free: 3.922 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.878975966945291]