Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001033/0.001033, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00135/0.00135, allocations: 177.4 kB / 23.36 MB, free: 1.125 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.066/1.066, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.514/2.514, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.379e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005027/0.005051, allocations: 3.803 MB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007385/0.01244, allocations: 6.583 MB / 0.8488 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.01281, allocations: 31.81 kB / 0.8488 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004334/0.01714, allocations: 1.977 MB / 0.8507 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.01801, allocations: 0.6372 MB / 0.8513 GB, free: 1.102 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 2.068e-05/0.01803, allocations: 8 kB / 0.8513 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02013/0.03816, allocations: 22.22 MB / 0.873 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.03843, allocations: 54.61 kB / 0.8731 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.03959, allocations: 0.7088 MB / 0.8738 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.04026, allocations: 0.4981 MB / 0.8743 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.011e-05/0.04034, allocations: 24 kB / 0.8743 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.0405, allocations: 28 kB / 0.8743 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0005505/0.04105, allocations: 0.7949 MB / 0.8751 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004293/0.04148, allocations: 458.6 kB / 0.8755 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.04256, allocations: 1.218 MB / 0.8767 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.04256, allocations: 0 / 0.8767 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/0.04256, allocations: 0 / 0.8767 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.698e-05/0.0426, allocations: 0 / 0.8767 GB, free: 7.051 MB / 0.8386 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.002006/0.04461, allocations: 2.048 MB / 0.8787 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.04465, allocations: 12.62 kB / 0.8787 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.0448, allocations: 183.1 kB / 0.8789 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.04672, allocations: 1.963 MB / 0.8808 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.04676, allocations: 154.6 kB / 0.881 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.04679, allocations: 154.6 kB / 0.8811 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.114e-05/0.04684, allocations: 105 kB / 0.8812 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.04687, allocations: 75.28 kB / 0.8813 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.04691, allocations: 154.6 kB / 0.8814 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.04694, allocations: 150.6 kB / 0.8816 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.04698, allocations: 150.6 kB / 0.8817 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.04725, allocations: 377.2 kB / 0.8821 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/0.04733, allocations: 189.1 kB / 0.8823 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.04735, allocations: 80.14 kB / 0.8823 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.04737, allocations: 75.28 kB / 0.8824 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.0474, allocations: 105.8 kB / 0.8825 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.0474, allocations: 0 / 0.8825 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001392/0.04754, allocations: 137.5 kB / 0.8826 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.04759, allocations: 126.7 kB / 0.8828 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/0.04945, allocations: 2.35 MB / 0.8851 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.04946, allocations: 29.64 kB / 0.8851 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.04969, allocations: 385.6 kB / 0.8855 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.04969, allocations: 4 kB / 0.8855 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.04971, allocations: 13.72 kB / 0.8855 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.04978, allocations: 309.9 kB / 0.8858 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.04978, allocations: 0 / 0.8858 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-06/0.04979, allocations: 0 / 0.8858 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.413e-05/0.04981, allocations: 83.27 kB / 0.8859 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.04983, allocations: 75.28 kB / 0.8859 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001166/0.04995, allocations: 133.5 kB / 0.8861 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.04998, allocations: 87.27 kB / 0.8861 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.05, allocations: 75.28 kB / 0.8862 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.923e-05/0.05005, allocations: 150.6 kB / 0.8864 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.016e-05/0.05007, allocations: 87.22 kB / 0.8864 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-05/0.0501, allocations: 150.6 kB / 0.8866 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.05034, allocations: 83.22 kB / 0.8867 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.05036, allocations: 79.31 kB / 0.8867 GB, free: 12.55 MB / 0.8542 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.0001893/0.05055, allocations: 271.2 kB / 0.887 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.05066, allocations: 208.8 kB / 0.8872 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.05085, allocations: 273.2 kB / 0.8875 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-05/0.05089, allocations: 180.3 kB / 0.8876 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/0.05093, allocations: 184.2 kB / 0.8878 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-05/0.05097, allocations: 180.3 kB / 0.888 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.05145, allocations: 0.6964 MB / 0.8886 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/0.05148, allocations: 101 kB / 0.8887 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.05151, allocations: 105 kB / 0.8888 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.743e-05/0.05155, allocations: 184.2 kB / 0.889 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.0516, allocations: 180.2 kB / 0.8892 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-05/0.05164, allocations: 180.2 kB / 0.8894 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.301e-05/0.05168, allocations: 180.6 kB / 0.8895 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.05186, allocations: 424.1 kB / 0.8899 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.05205, allocations: 283.5 kB / 0.8902 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.05218, allocations: 192.2 kB / 0.8904 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.0524, allocations: 105 kB / 0.8905 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.05245, allocations: 180.3 kB / 0.8907 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.05247, allocations: 104.9 kB / 0.8908 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001124/0.0536, allocations: 1.261 MB / 0.892 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0536, allocations: 0 / 0.892 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002858/0.05388, allocations: 180 kB / 0.8922 GB, free: 6.789 MB / 0.8542 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.000115/0.054, allocations: 147.7 kB / 0.8923 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.79e-05/0.05404, allocations: 4 kB / 0.8923 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/0.05405, allocations: 28 kB / 0.8923 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.05405, allocations: 3.938 kB / 0.8923 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.05701, allocations: 2.341 MB / 0.8946 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.05957, allocations: 2.701 MB / 0.8973 GB, free: 1.555 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.05994, allocations: 495.7 kB / 0.8977 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007927/0.06073, allocations: 287.6 kB / 0.898 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/0.06292, allocations: 1.038 MB / 0.899 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of SimCode: time 1.453e-06/0.06292, allocations: 0 / 0.899 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of Templates: time 0.0586/0.1215, allocations: 58.06 MB / 0.9557 GB, free: 7.309 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.179247694090009]