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.001454/0.001454, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001535/0.001535, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.77 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.PumpMultipleRecord): time 0.005315/0.3798, allocations: 3.495 MB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009035/0.3889, allocations: 5.951 MB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.3893, allocations: 31.81 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005147/0.3945, allocations: 1.923 MB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.3958, allocations: 0.6222 MB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.148e-05/0.3958, allocations: 0 / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03212/0.428, allocations: 22.4 MB / 1.361 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.4282, allocations: 50.59 kB / 1.361 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.4292, allocations: 0.568 MB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008309/0.4301, allocations: 0.657 MB / 1.362 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.4302, allocations: 32 kB / 1.362 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.4304, allocations: 28 kB / 1.362 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006373/0.431, allocations: 0.7553 MB / 1.363 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000626/0.4317, allocations: 0.6056 MB / 1.363 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.4339, allocations: 2.147 MB / 1.365 GB, free: 9.574 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4339, allocations: 0 / 1.365 GB, free: 9.574 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4339, allocations: 3.938 kB / 1.365 GB, free: 9.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.108e-05/0.4339, allocations: 0 / 1.365 GB, free: 9.57 MB / 1.061 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.003713/0.4376, allocations: 2.194 MB / 1.368 GB, free: 7.332 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4376, allocations: 12.03 kB / 1.368 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.4379, allocations: 293.8 kB / 1.368 GB, free: 7.031 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004004/0.4419, allocations: 2.403 MB / 1.37 GB, free: 4.551 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.442, allocations: 150.6 kB / 1.37 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/0.4421, allocations: 158.6 kB / 1.371 GB, free: 4.246 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.4422, allocations: 112.9 kB / 1.371 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.4422, allocations: 79.28 kB / 1.371 GB, free: 4.051 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.4423, allocations: 150.6 kB / 1.371 GB, free: 3.902 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.4423, allocations: 154.5 kB / 1.371 GB, free: 3.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.97e-05/0.4424, allocations: 154.6 kB / 1.371 GB, free: 3.598 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.4437, allocations: 1.053 MB / 1.372 GB, free: 2.516 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4438, allocations: 169.1 kB / 1.372 GB, free: 2.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.4439, allocations: 80.14 kB / 1.372 GB, free: 2.258 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.4439, allocations: 79.22 kB / 1.373 GB, free: 2.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.444, allocations: 109.8 kB / 1.373 GB, free: 2.062 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 2.194e-06/0.444, allocations: 0 / 1.373 GB, free: 2.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0002885/0.4443, allocations: 240.2 kB / 1.373 GB, free: 1.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.4443, allocations: 134.6 kB / 1.373 GB, free: 1.676 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.4482, allocations: 2.856 MB / 1.376 GB, free: 14.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.4482, allocations: 25.7 kB / 1.376 GB, free: 14.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009231/0.4492, allocations: 0.9066 MB / 1.377 GB, free: 13.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/0.4492, allocations: 3.984 kB / 1.377 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.4492, allocations: 13.72 kB / 1.377 GB, free: 13.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4493, allocations: 306 kB / 1.377 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-06/0.4493, allocations: 0 / 1.377 GB, free: 13.54 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.4494, allocations: 0 / 1.377 GB, free: 13.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.4494, allocations: 79.28 kB / 1.377 GB, free: 13.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.187e-05/0.4494, allocations: 75.28 kB / 1.377 GB, free: 13.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0003169/0.4497, allocations: 252.2 kB / 1.377 GB, free: 13.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.4498, allocations: 79.28 kB / 1.377 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/0.4498, allocations: 87.22 kB / 1.378 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.578e-05/0.4499, allocations: 154.6 kB / 1.378 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.4499, allocations: 75.28 kB / 1.378 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.831e-05/0.45, allocations: 158.4 kB / 1.378 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.4506, allocations: 95.25 kB / 1.378 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.4506, allocations: 79.22 kB / 1.378 GB, free: 12.41 MB / 1.076 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.0009636/0.4516, allocations: 0.9481 MB / 1.379 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.4519, allocations: 315.5 kB / 1.379 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.4522, allocations: 345.2 kB / 1.38 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/0.4523, allocations: 184.2 kB / 1.38 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.701e-05/0.4523, allocations: 180.2 kB / 1.38 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/0.4524, allocations: 188.1 kB / 1.38 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4535, allocations: 0.9936 MB / 1.381 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-05/0.4535, allocations: 112.9 kB / 1.381 GB, free: 9.078 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.4536, allocations: 105 kB / 1.381 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.4537, allocations: 176.3 kB / 1.382 GB, free: 8.789 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.4537, allocations: 184.2 kB / 1.382 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.171e-05/0.4538, allocations: 176.3 kB / 1.382 GB, free: 8.422 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.878e-05/0.4539, allocations: 184.2 kB / 1.382 GB, free: 8.234 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.4542, allocations: 0.5187 MB / 1.383 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.4547, allocations: 307.4 kB / 1.383 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.4549, allocations: 176.3 kB / 1.383 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.4554, allocations: 120.9 kB / 1.383 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.4555, allocations: 192.2 kB / 1.383 GB, free: 6.883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.4556, allocations: 109 kB / 1.383 GB, free: 6.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002932/0.4585, allocations: 2.091 MB / 1.385 GB, free: 4.672 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4585, allocations: 0 / 1.385 GB, free: 4.672 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005551/0.459, allocations: 176 kB / 1.386 GB, free: 4.5 MB / 1.076 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.0001384/0.4592, allocations: 174.5 kB / 1.386 GB, free: 4.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.102e-05/0.4592, allocations: 0 / 1.386 GB, free: 4.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4592, allocations: 4 kB / 1.386 GB, free: 4.316 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4592, allocations: 4 kB / 1.386 GB, free: 4.312 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006012/0.4653, allocations: 2.341 MB / 1.388 GB, free: 2.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.4702, allocations: 3.69 MB / 1.392 GB, free: 14.29 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.4715, allocations: 1.127 MB / 1.393 GB, free: 13.12 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.4717, allocations: 111.4 kB / 1.393 GB, free: 13.02 MB / 1.092 GB Notification: Performance of SimCode: time 7.01e-07/0.4717, allocations: 0 / 1.393 GB, free: 13.02 MB / 1.092 GB Notification: Performance of Templates: time 0.06354/0.5352, allocations: 41.06 MB / 1.433 GB, free: 4.512 MB / 1.123 GB " [Timeout remaining time 299] 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/jenkins1/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: 22.95688014710322]