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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 67.89 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9353/0.9376, allocations: 168.7 MB / 1.274 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.00575/0.9433, allocations: 3.829 MB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.9546, allocations: 6.373 MB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003925/0.955, allocations: 27.88 kB / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005011/0.96, allocations: 1.911 MB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.9611, allocations: 0.5637 MB / 1.286 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.717e-05/0.9612, allocations: 4 kB / 1.286 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.03537/0.9965, allocations: 23.21 MB / 1.309 GB, free: 472 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.9968, allocations: 38.44 kB / 1.309 GB, free: 420 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.998, allocations: 0.5757 MB / 1.31 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009148/0.9989, allocations: 0.657 MB / 1.31 GB, free: 15.17 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.999, allocations: 32 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.9992, allocations: 28 kB / 1.31 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007354/0.9999, allocations: 0.7514 MB / 1.311 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00083/1.001, allocations: 0.8271 MB / 1.312 GB, free: 13.53 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/1.003, allocations: 2.116 MB / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.003, allocations: 0 / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.934e-06/1.003, allocations: 0 / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.906e-05/1.003, allocations: 0 / 1.314 GB, free: 11.4 MB / 1.014 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.003698/1.007, allocations: 2.254 MB / 1.316 GB, free: 9.086 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.007, allocations: 8.031 kB / 1.316 GB, free: 9.078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/1.007, allocations: 293.8 kB / 1.317 GB, free: 8.789 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004119/1.011, allocations: 2.495 MB / 1.319 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/1.011, allocations: 150.6 kB / 1.319 GB, free: 6.082 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/1.011, allocations: 154.6 kB / 1.319 GB, free: 5.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.16e-05/1.012, allocations: 104.9 kB / 1.319 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/1.012, allocations: 75.28 kB / 1.319 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/1.012, allocations: 154.5 kB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/1.012, allocations: 162.5 kB / 1.32 GB, free: 5.434 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/1.012, allocations: 154.6 kB / 1.32 GB, free: 5.281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/1.013, allocations: 1.139 MB / 1.321 GB, free: 4.094 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/1.013, allocations: 169.1 kB / 1.321 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/1.013, allocations: 84.12 kB / 1.321 GB, free: 3.832 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/1.013, allocations: 83.22 kB / 1.321 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/1.014, allocations: 105.8 kB / 1.321 GB, free: 3.637 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.522e-06/1.014, allocations: 0 / 1.321 GB, free: 3.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0003126/1.014, allocations: 240.2 kB / 1.322 GB, free: 3.395 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/1.014, allocations: 134.6 kB / 1.322 GB, free: 3.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/1.018, allocations: 2.848 MB / 1.325 GB, free: 400 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/1.018, allocations: 29.7 kB / 1.325 GB, free: 364 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.019, allocations: 0.9067 MB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/1.019, allocations: 0 / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/1.019, allocations: 9.719 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.019, allocations: 306 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-06/1.019, allocations: 4.047 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-06/1.019, allocations: 7.938 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/1.019, allocations: 75.28 kB / 1.326 GB, free: 15.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-05/1.019, allocations: 79.28 kB / 1.326 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003034/1.02, allocations: 240.2 kB / 1.326 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/1.02, allocations: 79.28 kB / 1.326 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-05/1.02, allocations: 83.27 kB / 1.326 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.592e-05/1.02, allocations: 158.5 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.558e-05/1.02, allocations: 79.22 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.991e-05/1.02, allocations: 154.5 kB / 1.327 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/1.021, allocations: 95.25 kB / 1.327 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.021, allocations: 75.28 kB / 1.327 GB, free: 14 MB / 1.029 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.001045/1.022, allocations: 0.9489 MB / 1.328 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/1.022, allocations: 315.5 kB / 1.328 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/1.022, allocations: 345.2 kB / 1.328 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.725e-05/1.022, allocations: 188.1 kB / 1.329 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.602e-05/1.022, allocations: 176.3 kB / 1.329 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.192e-05/1.023, allocations: 184.1 kB / 1.329 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/1.024, allocations: 1.084 MB / 1.33 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/1.024, allocations: 109 kB / 1.33 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/1.024, allocations: 104.9 kB / 1.33 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.318e-05/1.024, allocations: 176.3 kB / 1.33 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.024, allocations: 192.2 kB / 1.331 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.34e-05/1.024, allocations: 180.2 kB / 1.331 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.469e-05/1.024, allocations: 180.2 kB / 1.331 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/1.025, allocations: 0.5184 MB / 1.331 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/1.025, allocations: 376.5 kB / 1.332 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/1.025, allocations: 180.3 kB / 1.332 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/1.026, allocations: 128.8 kB / 1.332 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.026, allocations: 180.7 kB / 1.332 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/1.026, allocations: 101 kB / 1.332 GB, free: 8.164 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003173/1.029, allocations: 2.091 MB / 1.334 GB, free: 6.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 0 / 1.334 GB, free: 6.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005344/1.03, allocations: 180 kB / 1.334 GB, free: 5.891 MB / 1.029 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.0001935/1.03, allocations: 181.4 kB / 1.335 GB, free: 5.707 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.243e-05/1.03, allocations: 3.938 kB / 1.335 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.03, allocations: 0 / 1.335 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.03, allocations: 0 / 1.335 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006157/1.036, allocations: 2.344 MB / 1.337 GB, free: 3.402 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/1.041, allocations: 3.529 MB / 1.34 GB, free: 15.83 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/1.043, allocations: 1.712 MB / 1.342 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001641/1.045, allocations: 447.5 kB / 1.343 GB, free: 13.64 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/1.045, allocations: 111.4 kB / 1.343 GB, free: 13.54 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/1.045, allocations: 0 / 1.343 GB, free: 13.54 MB / 1.045 GB Notification: Performance of Templates: time 0.08473/1.13, allocations: 49.85 MB / 1.391 GB, free: 12.76 MB / 1.092 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.150106150656939]