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.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.001813/0.001813, allocations: 79.86 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.002151/0.002151, allocations: 166 kB / 22.46 MB, free: 5.359 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.478/1.478, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.775/2.775, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.245e-06/2.245e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.22e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005744/0.005786, allocations: 3.499 MB / 0.9544 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009838/0.01562, allocations: 5.876 MB / 0.9601 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.01601, allocations: 31.81 kB / 0.9601 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005574/0.02158, allocations: 1.904 MB / 0.962 GB, free: 248 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.02317, allocations: 0.5828 MB / 0.9626 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 4.609e-05/0.02321, allocations: 7.938 kB / 0.9626 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.04291/0.06613, allocations: 23.9 MB / 0.9859 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.06645, allocations: 38.62 kB / 0.9859 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.06802, allocations: 0.74 MB / 0.9867 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008711/0.06889, allocations: 0.5839 MB / 0.9872 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.06899, allocations: 28 kB / 0.9873 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.06921, allocations: 28 kB / 0.9873 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008399/0.07005, allocations: 0.8142 MB / 0.9881 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007036/0.07076, allocations: 462.6 kB / 0.9885 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.07303, allocations: 1.981 MB / 0.9905 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.07303, allocations: 0 / 0.9905 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/0.07303, allocations: 8 kB / 0.9905 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.917e-05/0.07306, allocations: 0 / 0.9905 GB, free: 3.02 MB / 0.8887 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.003464/0.07653, allocations: 2.151 MB / 0.9926 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.07657, allocations: 8.031 kB / 0.9926 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.07686, allocations: 297.8 kB / 0.9929 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/0.08068, allocations: 2.407 MB / 0.9952 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.08075, allocations: 150.6 kB / 0.9953 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.08083, allocations: 154.5 kB / 0.9955 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.27e-05/0.08091, allocations: 101 kB / 0.9956 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.347e-05/0.08096, allocations: 79.28 kB / 0.9957 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.08103, allocations: 154.6 kB / 0.9958 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.174e-05/0.08111, allocations: 150.6 kB / 0.996 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.08119, allocations: 150.6 kB / 0.9961 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.08246, allocations: 1.053 MB / 0.9971 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.08259, allocations: 181 kB / 0.9973 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.08264, allocations: 84.12 kB / 0.9974 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.08268, allocations: 79.28 kB / 0.9975 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.08274, allocations: 109.8 kB / 0.9976 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.08274, allocations: 3.938 kB / 0.9976 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0003111/0.08305, allocations: 240.2 kB / 0.9978 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.08313, allocations: 134.6 kB / 0.9979 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004065/0.0872, allocations: 2.852 MB / 1.001 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.08722, allocations: 25.7 kB / 1.001 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009837/0.0882, allocations: 0.9028 MB / 1.002 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.0882, allocations: 0 / 1.002 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.08824, allocations: 17.72 kB / 1.002 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.08838, allocations: 309.9 kB / 1.002 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.08839, allocations: 0 / 1.002 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.0884, allocations: 0 / 1.002 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.08843, allocations: 75.28 kB / 1.002 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.259e-05/0.08846, allocations: 79.28 kB / 1.002 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003146/0.08878, allocations: 244.2 kB / 1.002 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.08885, allocations: 79.28 kB / 1.002 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/0.0889, allocations: 79.22 kB / 1.002 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.08902, allocations: 158.5 kB / 1.003 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.08906, allocations: 87.27 kB / 1.003 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.375e-05/0.08914, allocations: 154.6 kB / 1.003 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.08982, allocations: 91.25 kB / 1.003 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.08986, allocations: 83.22 kB / 1.003 GB, free: 5.914 MB / 0.9044 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.001081/0.09094, allocations: 0.9488 MB / 1.004 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.09124, allocations: 315.5 kB / 1.004 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.09161, allocations: 345.1 kB / 1.005 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.424e-05/0.0917, allocations: 176.3 kB / 1.005 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.898e-05/0.09179, allocations: 184.3 kB / 1.005 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-05/0.09187, allocations: 184.2 kB / 1.005 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.09305, allocations: 0.9974 MB / 1.006 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.513e-05/0.0931, allocations: 104.9 kB / 1.006 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.09314, allocations: 101 kB / 1.006 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.533e-05/0.09322, allocations: 184.6 kB / 1.006 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.188e-05/0.0933, allocations: 184.2 kB / 1.007 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.551e-05/0.09339, allocations: 180.2 kB / 1.007 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.321e-05/0.09348, allocations: 188.2 kB / 1.007 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.09384, allocations: 0.5183 MB / 1.007 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.09421, allocations: 299.5 kB / 1.008 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.09447, allocations: 184.2 kB / 1.008 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.09505, allocations: 124.9 kB / 1.008 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.09514, allocations: 184.2 kB / 1.008 GB, free: 396 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.09519, allocations: 108.9 kB / 1.008 GB, free: 280 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003025/0.09822, allocations: 2.087 MB / 1.01 GB, free: 14.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.09822, allocations: 0 / 1.01 GB, free: 14.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005305/0.09875, allocations: 176 kB / 1.011 GB, free: 14.01 MB / 0.92 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.000186/0.09894, allocations: 178.5 kB / 1.011 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 5.978e-05/0.099, allocations: 0 / 1.011 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.099, allocations: 0 / 1.011 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.099, allocations: 4 kB / 1.011 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/0.1051, allocations: 2.348 MB / 1.013 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.1102, allocations: 3.514 MB / 1.016 GB, free: 7.969 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.1116, allocations: 1.128 MB / 1.018 GB, free: 6.805 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001726/0.1134, allocations: 439.5 kB / 1.018 GB, free: 6.371 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.1135, allocations: 112.5 kB / 1.018 GB, free: 6.262 MB / 0.92 GB Notification: Performance of SimCode: time 1.303e-06/0.1135, allocations: 0 / 1.018 GB, free: 6.262 MB / 0.92 GB Notification: Performance of Templates: time 0.09451/0.208, allocations: 54.07 MB / 1.071 GB, free: 1.539 MB / 0.9669 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.557016588747501]