Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.00131/0.00131, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001462/0.001462, allocations: 209.2 kB / 23 MB, free: 4.934 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") [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.002066/0.002066, allocations: 68.66 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1095/0.422, allocations: 95.48 MB / 1.42 GB, free: 1.203 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.05085/0.4729, allocations: 32.66 MB / 1.452 GB, free: 476 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005193/0.478, allocations: 218.2 kB / 1.452 GB, free: 256 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007659/0.4857, allocations: 2.913 MB / 1.455 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.5011, allocations: 5.845 MB / 1.461 GB, free: 7.457 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.5113, allocations: 4.103 MB / 1.465 GB, free: 3.371 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.04655/0.5579, allocations: 32.8 MB / 1.497 GB, free: 2.523 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005393/0.5633, allocations: 3.06 MB / 1.5 GB, free: 15.4 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/0.5734, allocations: 4.657 MB / 1.505 GB, free: 10.74 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00636/0.5798, allocations: 3.472 MB / 1.508 GB, free: 7.25 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.581, allocations: 404 kB / 1.508 GB, free: 6.855 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0062/0.5872, allocations: 2.504 MB / 1.511 GB, free: 4.348 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.5893, allocations: 1.83 MB / 1.513 GB, free: 2.512 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003825/0.5932, allocations: 2.242 MB / 1.515 GB, free: 264 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.6064, allocations: 8.429 MB / 1.523 GB, free: 7.797 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6064, allocations: 0 / 1.523 GB, free: 7.797 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6064, allocations: 0 / 1.523 GB, free: 7.797 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002005/0.6066, allocations: 0 / 1.523 GB, free: 7.797 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01335/0.62, allocations: 6.254 MB / 1.529 GB, free: 1.441 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.62, allocations: 8.031 kB / 1.529 GB, free: 1.434 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.6319, allocations: 1.92 MB / 1.531 GB, free: 15.51 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01719/0.6491, allocations: 6.767 MB / 1.538 GB, free: 8.648 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.6493, allocations: 184.2 kB / 1.538 GB, free: 8.465 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006716/0.65, allocations: 248 kB / 1.538 GB, free: 8.223 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006661/0.6566, allocations: 3.332 MB / 1.541 GB, free: 4.723 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.6567, allocations: 3.938 kB / 1.541 GB, free: 4.719 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.6569, allocations: 91.98 kB / 1.541 GB, free: 4.629 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/0.657, allocations: 55.94 kB / 1.541 GB, free: 4.574 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006548/0.6635, allocations: 2.608 MB / 1.544 GB, free: 1.949 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01998/0.6835, allocations: 10.92 MB / 1.555 GB, free: 6.781 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005738/0.6893, allocations: 2.199 MB / 1.557 GB, free: 4.574 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002472/0.6917, allocations: 0.9373 MB / 1.558 GB, free: 3.633 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00782/0.6995, allocations: 3.385 MB / 1.561 GB, free: 228 kB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.6996, allocations: 47.56 kB / 1.561 GB, free: 172 kB / 1.248 GB Notification: Performance of pre-optimization done (n=112): time 3.426e-06/0.6996, allocations: 0 / 1.561 GB, free: 172 kB / 1.248 GB Notification: Performance of matching and sorting (n=112): time 0.01249/0.7121, allocations: 3.674 MB / 1.565 GB, free: 12.47 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.7121, allocations: 64.39 kB / 1.565 GB, free: 12.39 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008192/0.7203, allocations: 5.252 MB / 1.57 GB, free: 7.172 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0004036/0.7207, allocations: 57.7 kB / 1.57 GB, free: 7.109 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/0.7228, allocations: 2.209 MB / 1.572 GB, free: 4.883 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005764/0.7234, allocations: 432.4 kB / 1.572 GB, free: 4.457 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/0.7248, allocations: 0.8683 MB / 1.573 GB, free: 3.582 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7249, allocations: 309.1 kB / 1.574 GB, free: 3.277 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004663/0.7296, allocations: 2.66 MB / 1.576 GB, free: 0.6094 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005647/0.7352, allocations: 3.883 MB / 1.58 GB, free: 12.33 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009482/0.7447, allocations: 5.649 MB / 1.585 GB, free: 6.422 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.7447, allocations: 8 kB / 1.585 GB, free: 6.414 MB / 1.279 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01306/0.7578, allocations: 7.139 MB / 1.592 GB, free: 15.23 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.7578, allocations: 12 kB / 1.592 GB, free: 15.21 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.7578, allocations: 19.94 kB / 1.592 GB, free: 15.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.7597, allocations: 0.7221 MB / 1.593 GB, free: 14.46 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.7627, allocations: 0.667 MB / 1.594 GB, free: 13.79 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.7652, allocations: 2.725 MB / 1.596 GB, free: 10.96 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/0.7688, allocations: 425.6 kB / 1.597 GB, free: 10.55 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/0.7692, allocations: 211.9 kB / 1.597 GB, free: 10.34 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005768/0.775, allocations: 3.263 MB / 1.6 GB, free: 7.074 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004846/0.7798, allocations: 3.442 MB / 1.604 GB, free: 3.234 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7195/1.499, allocations: 4.765 MB / 1.608 GB, free: 266.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-05/1.499, allocations: 5.766 kB / 1.608 GB, free: 266.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01248/1.512, allocations: 6.324 MB / 1.614 GB, free: 265.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.512, allocations: 11.53 kB / 1.614 GB, free: 265.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/1.512, allocations: 17.28 kB / 1.615 GB, free: 265.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/1.515, allocations: 0.8004 MB / 1.615 GB, free: 265.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/1.518, allocations: 0.6356 MB / 1.616 GB, free: 265.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.535, allocations: 12.99 MB / 1.629 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004996/1.54, allocations: 351.2 kB / 1.629 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007487/1.54, allocations: 174 kB / 1.629 GB, free: 257.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007218/1.541, allocations: 335.7 kB / 1.629 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.542, allocations: 486.5 kB / 1.63 GB, free: 256.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008453/1.551, allocations: 3.311 MB / 1.633 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/1.551, allocations: 7.969 kB / 1.633 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.551, allocations: 0 / 1.633 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/1.553, allocations: 0.6982 MB / 1.634 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000615/1.553, allocations: 24.44 kB / 1.634 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.556, allocations: 161.7 kB / 1.634 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/1.556, allocations: 126.3 kB / 1.634 GB, free: 255.2 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007576/1.564, allocations: 2.551 MB / 1.637 GB, free: 254.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009167/1.573, allocations: 3.975 MB / 1.64 GB, free: 252.9 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002446/1.575, allocations: 0.9414 MB / 1.641 GB, free: 252.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005018/1.58, allocations: 3.454 MB / 1.645 GB, free: 251.4 MB / 1.295 GB Notification: Performance of Backend: time 5.21e-07/1.58, allocations: 0 / 1.645 GB, free: 251.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01795/1.598, allocations: 7.402 MB / 1.652 GB, free: 248.9 MB / 1.295 GB Notification: Performance of SimCode: time 0.02162/1.62, allocations: 10.7 MB / 1.662 GB, free: 240.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1568/1.777, allocations: 129.8 MB / 1.789 GB, free: 113.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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: 13.2591413859991]