Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008002/0.008002, allocations: 97.66 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 201.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.74/2.74, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3576, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.8706/1.228, allocations: 104.3 MB / 1.322 GB, free: 1.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.06049/1.289, allocations: 34.99 MB / 1.357 GB, free: 8.113 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01318/1.302, allocations: 165.4 kB / 1.357 GB, free: 8.055 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0129/1.315, allocations: 2.95 MB / 1.36 GB, free: 6.559 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01887/1.334, allocations: 5.698 MB / 1.365 GB, free: 2.953 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/1.347, allocations: 4.06 MB / 1.369 GB, free: 15.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.04973/1.396, allocations: 31.67 MB / 1.4 GB, free: 13.65 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00896/1.405, allocations: 3.079 MB / 1.403 GB, free: 10.5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/1.419, allocations: 4.366 MB / 1.407 GB, free: 6.129 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008029/1.427, allocations: 3.382 MB / 1.411 GB, free: 2.734 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002692/1.43, allocations: 460 kB / 1.411 GB, free: 2.285 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/1.44, allocations: 2.933 MB / 1.414 GB, free: 15.35 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00375/1.444, allocations: 1.927 MB / 1.416 GB, free: 13.41 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007101/1.451, allocations: 2.993 MB / 1.419 GB, free: 10.41 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01801/1.469, allocations: 8.819 MB / 1.427 GB, free: 1.555 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.469, allocations: 0 / 1.427 GB, free: 1.555 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.844e-06/1.469, allocations: 0 / 1.427 GB, free: 1.555 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003028/1.469, allocations: 0 / 1.427 GB, free: 1.555 MB / 1.107 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.01705/1.486, allocations: 6.478 MB / 1.434 GB, free: 10.95 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.486, allocations: 8.031 kB / 1.434 GB, free: 10.94 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/1.499, allocations: 1.924 MB / 1.436 GB, free: 9.012 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/1.52, allocations: 7.358 MB / 1.443 GB, free: 1.594 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/1.52, allocations: 184.2 kB / 1.443 GB, free: 1.41 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/1.521, allocations: 240 kB / 1.443 GB, free: 1.176 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008283/1.53, allocations: 3.216 MB / 1.446 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.09e-05/1.53, allocations: 3.938 kB / 1.446 GB, free: 13.81 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005295/1.53, allocations: 88 kB / 1.446 GB, free: 13.73 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/1.53, allocations: 56 kB / 1.447 GB, free: 13.67 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007256/1.537, allocations: 2.6 MB / 1.449 GB, free: 11.05 MB / 1.139 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.02453/1.562, allocations: 14.89 MB / 1.464 GB, free: 11.27 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/1.568, allocations: 2.18 MB / 1.466 GB, free: 9.078 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/1.57, allocations: 0.9349 MB / 1.467 GB, free: 8.141 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009628/1.58, allocations: 4.999 MB / 1.472 GB, free: 2.848 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/1.58, allocations: 47.56 kB / 1.472 GB, free: 2.793 MB / 1.154 GB Notification: Performance of pre-optimization done (n=112): time 2.786e-06/1.58, allocations: 0 / 1.472 GB, free: 2.793 MB / 1.154 GB Notification: Performance of matching and sorting (n=112): time 0.01233/1.592, allocations: 3.971 MB / 1.475 GB, free: 14.73 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/1.592, allocations: 64.41 kB / 1.475 GB, free: 14.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.603, allocations: 5.487 MB / 1.481 GB, free: 9.16 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006518/1.604, allocations: 61.7 kB / 1.481 GB, free: 9.094 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.606, allocations: 2.253 MB / 1.483 GB, free: 6.824 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007631/1.607, allocations: 428.5 kB / 1.484 GB, free: 6.402 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002342/1.609, allocations: 0.8802 MB / 1.484 GB, free: 5.516 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.609, allocations: 301.1 kB / 1.485 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004697/1.614, allocations: 2.618 MB / 1.487 GB, free: 2.594 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/1.62, allocations: 3.471 MB / 1.491 GB, free: 14.8 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009201/1.629, allocations: 5.575 MB / 1.496 GB, free: 8.965 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/1.629, allocations: 7.984 kB / 1.496 GB, free: 8.957 MB / 1.186 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01301/1.642, allocations: 7.079 MB / 1.503 GB, free: 1.836 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/1.642, allocations: 20.86 kB / 1.503 GB, free: 1.816 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/1.642, allocations: 19.94 kB / 1.503 GB, free: 1.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/1.644, allocations: 0.7138 MB / 1.504 GB, free: 1.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/1.647, allocations: 0.6669 MB / 1.504 GB, free: 412 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.649, allocations: 2.725 MB / 1.507 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/1.653, allocations: 458.4 kB / 1.507 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005808/1.654, allocations: 215.9 kB / 1.508 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005902/1.66, allocations: 3.243 MB / 1.511 GB, free: 9.664 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004464/1.664, allocations: 3.026 MB / 1.514 GB, free: 6.324 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007433/1.671, allocations: 4.715 MB / 1.518 GB, free: 1.352 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-05/1.671, allocations: 4 kB / 1.518 GB, free: 1.348 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01355/1.685, allocations: 6.258 MB / 1.525 GB, free: 11.05 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/1.685, allocations: 18.28 kB / 1.525 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/1.685, allocations: 20.88 kB / 1.525 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/1.688, allocations: 0.7997 MB / 1.525 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/1.691, allocations: 0.628 MB / 1.526 GB, free: 9.574 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/1.71, allocations: 13.66 MB / 1.539 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00444/1.714, allocations: 362.8 kB / 1.54 GB, free: 10.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005963/1.715, allocations: 183.9 kB / 1.54 GB, free: 10.72 MB / 1.232 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.0009762/1.716, allocations: 332.4 kB / 1.54 GB, free: 10.39 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.717, allocations: 0.4927 MB / 1.541 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009085/1.726, allocations: 3.306 MB / 1.544 GB, free: 6.559 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/1.726, allocations: 16 kB / 1.544 GB, free: 6.543 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.726, allocations: 3.984 kB / 1.544 GB, free: 6.539 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/1.726, allocations: 3.984 kB / 1.544 GB, free: 6.535 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.743, allocations: 6.166 MB / 1.55 GB, free: 296 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.743, allocations: 3.984 kB / 1.55 GB, free: 292 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.745, allocations: 303.7 kB / 1.55 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/1.746, allocations: 394.9 kB / 1.551 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/1.746, allocations: 51.89 kB / 1.551 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/1.748, allocations: 2.62 MB / 1.553 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.748, allocations: 0 / 1.553 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008439/1.757, allocations: 3.071 MB / 1.556 GB, free: 9.699 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/1.759, allocations: 0.8056 MB / 1.557 GB, free: 8.871 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/1.76, allocations: 27.94 kB / 1.557 GB, free: 8.844 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003258/1.764, allocations: 159.8 kB / 1.557 GB, free: 8.688 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/1.764, allocations: 93.19 kB / 1.557 GB, free: 8.598 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.764, allocations: 91.92 kB / 1.557 GB, free: 8.508 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007655/1.772, allocations: 3.62 MB / 1.561 GB, free: 4.891 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.9e-07/1.772, allocations: 3.938 kB / 1.561 GB, free: 4.887 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008679/1.78, allocations: 2.332 MB / 1.563 GB, free: 2.551 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (117): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002462/1.783, allocations: 0.9129 MB / 1.564 GB, free: 1.629 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01642/1.799, allocations: 7.347 MB / 1.571 GB, free: 10.23 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.799, allocations: 0 / 1.571 GB, free: 10.23 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.803, allocations: 1.106 MB / 1.572 GB, free: 9.129 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/1.815, allocations: 2.423 MB / 1.575 GB, free: 6.785 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.833, allocations: 8.483 MB / 1.583 GB, free: 14.26 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004003/1.837, allocations: 2.875 MB / 1.586 GB, free: 11.35 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005793/1.843, allocations: 1.334 MB / 1.587 GB, free: 10.01 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.844, allocations: 375.2 kB / 1.587 GB, free: 9.641 MB / 1.279 GB Notification: Performance of SimCode: time 1.613e-06/1.844, allocations: 4 kB / 1.587 GB, free: 9.637 MB / 1.279 GB Notification: Performance of Templates: time 0.1834/2.027, allocations: 105.7 MB / 1.691 GB, free: 1.082 MB / 1.373 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches