Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001432/0.001432, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 196 kB / 16.53 MB, free: 6.664 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6402, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1191/0.7593, allocations: 104.1 MB / 1.119 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.06033/0.8197, allocations: 34.93 MB / 1.153 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008434/0.8282, allocations: 159.1 kB / 1.153 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.03361/0.8618, allocations: 18.54 MB / 1.171 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01625/0.8781, allocations: 5.28 MB / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.8886, allocations: 3.982 MB / 1.18 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.04946/0.9381, allocations: 31.04 MB / 1.211 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008329/0.9465, allocations: 3.551 MB / 1.214 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01084/0.9573, allocations: 4.113 MB / 1.218 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006375/0.9637, allocations: 3.228 MB / 1.221 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002125/0.9659, allocations: 432 kB / 1.222 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.9771, allocations: 2.901 MB / 1.225 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004147/0.9813, allocations: 1.826 MB / 1.226 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.008378/0.9897, allocations: 2.95 MB / 1.229 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02064/1.01, allocations: 8.532 MB / 1.238 GB, free: 240 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/1.01, allocations: 8 kB / 1.238 GB, free: 232 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.725e-06/1.01, allocations: 0 / 1.238 GB, free: 232 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002871/1.011, allocations: 4 kB / 1.238 GB, free: 228 kB / 0.9825 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.01493/1.026, allocations: 6.175 MB / 1.244 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.026, allocations: 8.031 kB / 1.244 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/1.037, allocations: 1.897 MB / 1.245 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01718/1.054, allocations: 6.959 MB / 1.252 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/1.055, allocations: 205.2 kB / 1.252 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008637/1.055, allocations: 240 kB / 1.253 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5451/1.601, allocations: 3.217 MB / 1.256 GB, free: 221 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/1.601, allocations: 5.719 kB / 1.256 GB, free: 221 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002689/1.601, allocations: 88.72 kB / 1.256 GB, free: 221 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/1.601, allocations: 56.06 kB / 1.256 GB, free: 221 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007395/1.608, allocations: 2.612 MB / 1.259 GB, free: 220.1 MB / 0.9981 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.02553/1.634, allocations: 14.93 MB / 1.273 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006124/1.64, allocations: 2.305 MB / 1.275 GB, free: 210 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/1.643, allocations: 0.9954 MB / 1.276 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009196/1.652, allocations: 4.97 MB / 1.281 GB, free: 206.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.652, allocations: 50.81 kB / 1.281 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=112): time 2.935e-06/1.652, allocations: 0 / 1.281 GB, free: 206.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.01186/1.664, allocations: 3.975 MB / 1.285 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.664, allocations: 64.31 kB / 1.285 GB, free: 204.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008266/1.672, allocations: 5.415 MB / 1.29 GB, free: 202 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000534/1.673, allocations: 65.59 kB / 1.291 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002058/1.675, allocations: 2.226 MB / 1.293 GB, free: 200 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007514/1.676, allocations: 409.5 kB / 1.293 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002266/1.678, allocations: 0.878 MB / 1.294 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/1.678, allocations: 305.1 kB / 1.294 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004104/1.682, allocations: 2.631 MB / 1.297 GB, free: 197.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004718/1.687, allocations: 3.475 MB / 1.3 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008015/1.695, allocations: 5.596 MB / 1.306 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/1.695, allocations: 8 kB / 1.306 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01157/1.706, allocations: 7.074 MB / 1.313 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/1.707, allocations: 12 kB / 1.313 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.137e-05/1.707, allocations: 19.94 kB / 1.313 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/1.708, allocations: 0.7206 MB / 1.313 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/1.711, allocations: 0.6669 MB / 1.314 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/1.713, allocations: 2.724 MB / 1.317 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/1.719, allocations: 462.5 kB / 1.317 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006738/1.72, allocations: 207.9 kB / 1.317 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006033/1.726, allocations: 3.248 MB / 1.32 GB, free: 176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004015/1.73, allocations: 3.043 MB / 1.323 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006562/1.736, allocations: 4.738 MB / 1.328 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-05/1.736, allocations: 9.812 kB / 1.328 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01066/1.747, allocations: 6.245 MB / 1.334 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.747, allocations: 12 kB / 1.334 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/1.747, allocations: 19.98 kB / 1.334 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/1.749, allocations: 0.8114 MB / 1.335 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/1.752, allocations: 0.628 MB / 1.336 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.766, allocations: 13.66 MB / 1.349 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/1.77, allocations: 364.6 kB / 1.349 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005343/1.771, allocations: 175.9 kB / 1.349 GB, free: 145.1 MB / 0.9981 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.000951/1.772, allocations: 336.5 kB / 1.35 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.773, allocations: 477.6 kB / 1.35 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/1.782, allocations: 3.332 MB / 1.353 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.782, allocations: 15.98 kB / 1.353 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/1.782, allocations: 0 / 1.353 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.782, allocations: 7.984 kB / 1.354 GB, free: 141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/1.795, allocations: 6.161 MB / 1.36 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/1.795, allocations: 3.938 kB / 1.36 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.797, allocations: 303.7 kB / 1.36 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00088/1.797, allocations: 390.5 kB / 1.36 GB, free: 134.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/1.798, allocations: 51.94 kB / 1.36 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/1.799, allocations: 2.619 MB / 1.363 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.799, allocations: 4.031 kB / 1.363 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007139/1.806, allocations: 3.072 MB / 1.366 GB, free: 128.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/1.808, allocations: 0.7753 MB / 1.367 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.809, allocations: 24 kB / 1.367 GB, free: 127.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.812, allocations: 151.8 kB / 1.367 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.812, allocations: 89.19 kB / 1.367 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.812, allocations: 91.92 kB / 1.367 GB, free: 127 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005347/1.818, allocations: 3.569 MB / 1.37 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.818, allocations: 0 / 1.37 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006604/1.824, allocations: 2.316 MB / 1.373 GB, free: 121.2 MB / 0.9981 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.00205/1.826, allocations: 0.9207 MB / 1.374 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01556/1.842, allocations: 7.992 MB / 1.381 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.842, allocations: 4.688 kB / 1.381 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003105/1.845, allocations: 1.174 MB / 1.382 GB, free: 111.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/1.856, allocations: 2.429 MB / 1.385 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.869, allocations: 8.457 MB / 1.393 GB, free: 100.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/1.872, allocations: 2.864 MB / 1.396 GB, free: 97.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006024/1.878, allocations: 1.33 MB / 1.397 GB, free: 96.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.879, allocations: 387.2 kB / 1.398 GB, free: 95.73 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.879, allocations: 0 / 1.398 GB, free: 95.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.1541/2.033, allocations: 108.3 MB / 1.503 GB, free: 4.777 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches