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.001973/0.001973, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002309/0.002309, allocations: 174.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.541/1.541, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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 2.951/2.951, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",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.1.|V_flow_nominal.2.|datDef.per.1..pressure.V_flow.2.|datDef.per.2..pressure.V_flow.2.|datRed.per.1..pressure.V_flow.2.|datRed.per.2..pressure.V_flow.2.|datAss.per.1..pressure.V_flow.2.|datAss.per.2..pressure.V_flow.2.|datPre.per.1..pressure.V_flow.2.|datPre.per.2..pressure.V_flow.2.",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.154e-05, allocations: 10.16 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005199/0.00523, allocations: 3.5 MB / 0.9848 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009956/0.01519, allocations: 5.931 MB / 0.9906 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006381/0.01582, allocations: 31.81 kB / 0.9906 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005474/0.0213, allocations: 1.954 MB / 0.9925 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.02256, allocations: 0.6255 MB / 0.9932 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 2.695e-05/0.02258, allocations: 4 kB / 0.9932 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.03662/0.05921, allocations: 22.65 MB / 1.015 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.05955, allocations: 50.61 kB / 1.015 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.06119, allocations: 0.701 MB / 1.016 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000871/0.06207, allocations: 0.5877 MB / 1.017 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.06217, allocations: 35.94 kB / 1.017 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.0624, allocations: 28 kB / 1.017 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007391/0.06314, allocations: 0.822 MB / 1.017 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.06374, allocations: 466.6 kB / 1.018 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.06584, allocations: 1.993 MB / 1.02 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.06585, allocations: 0 / 1.02 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.06585, allocations: 0 / 1.02 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.06587, allocations: 4 kB / 1.02 GB, free: 4.52 MB / 0.9669 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.003495/0.06937, allocations: 2.167 MB / 1.022 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.06942, allocations: 12.03 kB / 1.022 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.06972, allocations: 289.8 kB / 1.022 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.07368, allocations: 2.415 MB / 1.025 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/0.07376, allocations: 150.6 kB / 1.025 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.07383, allocations: 154.6 kB / 1.025 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.661e-05/0.07391, allocations: 109 kB / 1.025 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.07394, allocations: 75.28 kB / 1.025 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.07401, allocations: 150.6 kB / 1.025 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.948e-05/0.07408, allocations: 150.6 kB / 1.025 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.866e-05/0.07416, allocations: 154.6 kB / 1.026 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.0756, allocations: 1.06 MB / 1.027 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.07573, allocations: 165.1 kB / 1.027 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.07578, allocations: 80.14 kB / 1.027 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.07582, allocations: 75.28 kB / 1.027 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/0.07589, allocations: 117.8 kB / 1.027 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.07589, allocations: 0 / 1.027 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0003648/0.07625, allocations: 248.2 kB / 1.027 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.07634, allocations: 126.7 kB / 1.027 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.08046, allocations: 2.852 MB / 1.03 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.08048, allocations: 25.7 kB / 1.03 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.08149, allocations: 0.9028 MB / 1.031 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.08149, allocations: 0 / 1.031 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.08152, allocations: 9.719 kB / 1.031 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.08166, allocations: 313.9 kB / 1.031 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-06/0.08167, allocations: 3.938 kB / 1.031 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.08167, allocations: 4 kB / 1.031 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.08171, allocations: 79.28 kB / 1.031 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-05/0.08174, allocations: 75.28 kB / 1.031 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0002996/0.08204, allocations: 248.2 kB / 1.032 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.0821, allocations: 83.28 kB / 1.032 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/0.08214, allocations: 79.27 kB / 1.032 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.053e-05/0.08222, allocations: 150.6 kB / 1.032 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.08225, allocations: 91.2 kB / 1.032 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.357e-05/0.08232, allocations: 150.6 kB / 1.032 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.08299, allocations: 103.1 kB / 1.032 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.08302, allocations: 79.28 kB / 1.032 GB, free: 7.391 MB / 0.9825 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.001019/0.08404, allocations: 0.9451 MB / 1.033 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.08432, allocations: 319.5 kB / 1.034 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.08466, allocations: 337.2 kB / 1.034 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.839e-05/0.08475, allocations: 180.3 kB / 1.034 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.645e-05/0.08483, allocations: 180.2 kB / 1.034 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.94e-05/0.08491, allocations: 176.3 kB / 1.034 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.08603, allocations: 1.005 MB / 1.035 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.652e-05/0.08608, allocations: 109 kB / 1.036 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.08613, allocations: 105 kB / 1.036 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.6e-05/0.0862, allocations: 180.5 kB / 1.036 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.08628, allocations: 180.3 kB / 1.036 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-05/0.08636, allocations: 180.2 kB / 1.036 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.13e-05/0.08644, allocations: 184.3 kB / 1.036 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.08681, allocations: 0.5222 MB / 1.037 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.08719, allocations: 295.5 kB / 1.037 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.08745, allocations: 192.2 kB / 1.037 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.08801, allocations: 117 kB / 1.037 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.0881, allocations: 180.2 kB / 1.038 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.025e-05/0.08815, allocations: 112.9 kB / 1.038 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002981/0.09113, allocations: 2.091 MB / 1.04 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.09113, allocations: 0 / 1.04 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005279/0.09165, allocations: 176 kB / 1.04 GB, free: 15.49 MB / 0.9981 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.0001701/0.09182, allocations: 174.5 kB / 1.04 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.747e-05/0.09187, allocations: 4 kB / 1.04 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.09188, allocations: 3.938 kB / 1.04 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.09188, allocations: 0 / 1.04 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006019/0.0979, allocations: 2.355 MB / 1.042 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.1028, allocations: 3.514 MB / 1.046 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.1042, allocations: 1.132 MB / 1.047 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001638/0.1058, allocations: 431.5 kB / 1.047 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.106, allocations: 112.5 kB / 1.047 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/0.106, allocations: 0 / 1.047 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.09227/0.1983, allocations: 54.06 MB / 1.1 GB, free: 3.09 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Validation.PumpMultipleRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.83593388646841]