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.001497/0.001497, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001717/0.001717, allocations: 160.6 kB / 22.45 MB, free: 5.375 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.484/1.484, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.887/2.887, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.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_latest_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_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.566e-05, allocations: 2.281 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005685/0.005721, allocations: 3.517 MB / 1.004 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.01633, allocations: 6.078 MB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.01686, allocations: 31.81 kB / 1.01 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005993/0.02286, allocations: 1.95 MB / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.02456, allocations: 0.6295 MB / 1.012 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.524e-05/0.0246, allocations: 4 kB / 1.012 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.03789/0.06249, allocations: 22.65 MB / 1.034 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.06277, allocations: 46.62 kB / 1.034 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.06422, allocations: 0.701 MB / 1.035 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008808/0.0651, allocations: 0.5878 MB / 1.035 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.06521, allocations: 36 kB / 1.035 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.06542, allocations: 32 kB / 1.036 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008013/0.06622, allocations: 0.8142 MB / 1.036 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.06686, allocations: 466.6 kB / 1.037 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.06912, allocations: 2.001 MB / 1.039 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.06912, allocations: 0 / 1.039 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.06912, allocations: 0 / 1.039 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.06915, allocations: 0 / 1.039 GB, free: 15.66 MB / 0.9981 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.003638/0.07279, allocations: 2.163 MB / 1.041 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.07283, allocations: 12.03 kB / 1.041 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003262/0.07316, allocations: 293.8 kB / 1.041 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.0772, allocations: 2.407 MB / 1.043 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.07728, allocations: 154.5 kB / 1.044 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.07736, allocations: 158.6 kB / 1.044 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.77e-05/0.07744, allocations: 101 kB / 1.044 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/0.0775, allocations: 79.28 kB / 1.044 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.07757, allocations: 150.6 kB / 1.044 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-05/0.07765, allocations: 154.5 kB / 1.044 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.07774, allocations: 158.5 kB / 1.044 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.07913, allocations: 1.057 MB / 1.045 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.07926, allocations: 169.1 kB / 1.046 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.07931, allocations: 80.14 kB / 1.046 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-05/0.07936, allocations: 79.28 kB / 1.046 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.07942, allocations: 113.8 kB / 1.046 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.07942, allocations: 0 / 1.046 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0003285/0.07975, allocations: 244.2 kB / 1.046 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.07985, allocations: 126.7 kB / 1.046 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/0.08392, allocations: 2.856 MB / 1.049 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.08394, allocations: 25.7 kB / 1.049 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.08495, allocations: 0.9028 MB / 1.05 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.08495, allocations: 0 / 1.05 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.08499, allocations: 17.7 kB / 1.05 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.08514, allocations: 313.9 kB / 1.05 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-06/0.08515, allocations: 0 / 1.05 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.08516, allocations: 0 / 1.05 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.08519, allocations: 75.28 kB / 1.05 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-05/0.08523, allocations: 75.28 kB / 1.05 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003441/0.08557, allocations: 248.2 kB / 1.051 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.08562, allocations: 79.28 kB / 1.051 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/0.08566, allocations: 75.28 kB / 1.051 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.573e-05/0.08575, allocations: 162.6 kB / 1.051 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.08579, allocations: 79.22 kB / 1.051 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.676e-05/0.08587, allocations: 154.5 kB / 1.051 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.08647, allocations: 95.2 kB / 1.051 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.08651, allocations: 83.2 kB / 1.051 GB, free: 2.535 MB / 0.9981 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.001037/0.08754, allocations: 0.9456 MB / 1.052 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.08782, allocations: 315.5 kB / 1.052 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.08817, allocations: 341.1 kB / 1.053 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.253e-05/0.08826, allocations: 184.2 kB / 1.053 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.932e-05/0.08835, allocations: 180.2 kB / 1.053 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.96e-05/0.08844, allocations: 184.3 kB / 1.053 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.08962, allocations: 0.9935 MB / 1.054 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.214e-05/0.08968, allocations: 112.9 kB / 1.054 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.08973, allocations: 109.2 kB / 1.055 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.56e-05/0.08983, allocations: 180.2 kB / 1.055 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.917e-05/0.08993, allocations: 184.3 kB / 1.055 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.128e-05/0.09001, allocations: 180.3 kB / 1.055 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.989e-05/0.09009, allocations: 184.2 kB / 1.055 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.09048, allocations: 0.5184 MB / 1.056 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.09086, allocations: 303.5 kB / 1.056 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.09113, allocations: 184.1 kB / 1.056 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.09167, allocations: 121 kB / 1.056 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.09177, allocations: 176.3 kB / 1.056 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.094e-05/0.09182, allocations: 108.9 kB / 1.057 GB, free: 12.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003128/0.09495, allocations: 2.091 MB / 1.059 GB, free: 10.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.09495, allocations: 0 / 1.059 GB, free: 10.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005195/0.09547, allocations: 176 kB / 1.059 GB, free: 10.63 MB / 1.014 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.0001791/0.09565, allocations: 178.5 kB / 1.059 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.219e-05/0.0957, allocations: 7.938 kB / 1.059 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0957, allocations: 0 / 1.059 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.0957, allocations: 0 / 1.059 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00624/0.1019, allocations: 2.335 MB / 1.061 GB, free: 8.152 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.107, allocations: 3.514 MB / 1.065 GB, free: 4.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.1084, allocations: 1.128 MB / 1.066 GB, free: 3.434 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001626/0.1101, allocations: 439.5 kB / 1.066 GB, free: 3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1102, allocations: 112.5 kB / 1.066 GB, free: 2.891 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/0.1102, allocations: 0 / 1.066 GB, free: 2.891 MB / 1.014 GB Notification: Performance of Templates: time 0.09155/0.2018, allocations: 54.01 MB / 1.119 GB, free: 14.03 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.PumpMultipleRecord_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_PumpMultipleRecord.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.356811095029116]