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.00861/0.00861, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.001996/0.001996, allocations: 186 kB / 16.67 MB, free: 5.926 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.619/2.619, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3578, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.8787/1.237, allocations: 104.1 MB / 1.268 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06364/1.3, allocations: 34.92 MB / 1.302 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01405/1.314, allocations: 162.1 kB / 1.303 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01637/1.331, allocations: 2.918 MB / 1.305 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03475/1.366, allocations: 5.685 MB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02325/1.389, allocations: 4.055 MB / 1.315 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.08675/1.476, allocations: 31.57 MB / 1.346 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/1.487, allocations: 3.663 MB / 1.349 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01654/1.504, allocations: 4.381 MB / 1.354 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009187/1.513, allocations: 3.364 MB / 1.357 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00231/1.515, allocations: 459.2 kB / 1.357 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0136/1.529, allocations: 2.932 MB / 1.36 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004033/1.533, allocations: 1.876 MB / 1.362 GB, free: 8.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01009/1.543, allocations: 2.993 MB / 1.365 GB, free: 6.762 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02614/1.569, allocations: 8.804 MB / 1.374 GB, free: 14.58 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.57, allocations: 0 / 1.374 GB, free: 14.58 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/1.57, allocations: 4 kB / 1.374 GB, free: 14.58 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002749/1.57, allocations: 0 / 1.374 GB, free: 14.58 MB / 1.045 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.02469/1.595, allocations: 6.481 MB / 1.38 GB, free: 8.027 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.595, allocations: 8.031 kB / 1.38 GB, free: 8.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02038/1.615, allocations: 1.924 MB / 1.382 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03143/1.646, allocations: 7.332 MB / 1.389 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/1.647, allocations: 180.2 kB / 1.389 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/1.648, allocations: 244 kB / 1.389 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/1.662, allocations: 3.223 MB / 1.392 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.715e-05/1.663, allocations: 7.938 kB / 1.392 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006192/1.663, allocations: 88 kB / 1.393 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/1.663, allocations: 52 kB / 1.393 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009181/1.673, allocations: 2.596 MB / 1.395 GB, free: 8.336 MB / 1.061 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.02719/1.7, allocations: 14.89 MB / 1.41 GB, free: 8.648 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006841/1.707, allocations: 2.27 MB / 1.412 GB, free: 6.375 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/1.71, allocations: 0.9959 MB / 1.413 GB, free: 5.379 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009876/1.72, allocations: 4.996 MB / 1.418 GB, free: 140 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.72, allocations: 43.56 kB / 1.418 GB, free: 88 kB / 1.076 GB Notification: Performance of pre-optimization done (n=112): time 2.675e-06/1.72, allocations: 0 / 1.418 GB, free: 88 kB / 1.076 GB Notification: Performance of matching and sorting (n=112): time 0.01184/1.732, allocations: 3.974 MB / 1.422 GB, free: 12.04 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.732, allocations: 72.34 kB / 1.422 GB, free: 11.96 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00816/1.74, allocations: 5.487 MB / 1.427 GB, free: 6.461 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003744/1.74, allocations: 65.69 kB / 1.427 GB, free: 6.391 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.742, allocations: 2.244 MB / 1.429 GB, free: 4.16 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/1.743, allocations: 433.8 kB / 1.43 GB, free: 3.742 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/1.744, allocations: 0.8764 MB / 1.431 GB, free: 2.859 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.744, allocations: 309.1 kB / 1.431 GB, free: 2.555 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/1.749, allocations: 2.618 MB / 1.433 GB, free: 15.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/1.754, allocations: 3.459 MB / 1.437 GB, free: 12.16 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008934/1.763, allocations: 5.583 MB / 1.442 GB, free: 6.316 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/1.763, allocations: 4 kB / 1.442 GB, free: 6.312 MB / 1.107 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01299/1.776, allocations: 7.087 MB / 1.449 GB, free: 15.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/1.776, allocations: 12 kB / 1.449 GB, free: 15.17 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/1.776, allocations: 23.92 kB / 1.449 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/1.778, allocations: 0.7299 MB / 1.45 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/1.781, allocations: 0.6592 MB / 1.451 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/1.784, allocations: 2.725 MB / 1.453 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/1.788, allocations: 465.3 kB / 1.454 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004303/1.789, allocations: 207.9 kB / 1.454 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005795/1.794, allocations: 3.25 MB / 1.457 GB, free: 7.008 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004479/1.799, allocations: 3.026 MB / 1.46 GB, free: 3.668 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007591/1.806, allocations: 4.718 MB / 1.465 GB, free: 14.7 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.169e-05/1.807, allocations: 4 kB / 1.465 GB, free: 14.69 MB / 1.139 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01206/1.819, allocations: 6.258 MB / 1.471 GB, free: 8.395 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.819, allocations: 12 kB / 1.471 GB, free: 8.383 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/1.819, allocations: 20 kB / 1.471 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/1.821, allocations: 0.8118 MB / 1.472 GB, free: 7.539 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/1.824, allocations: 0.628 MB / 1.472 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/1.842, allocations: 13.64 MB / 1.486 GB, free: 8.625 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/1.846, allocations: 355 kB / 1.486 GB, free: 8.277 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000508/1.847, allocations: 180 kB / 1.486 GB, free: 8.102 MB / 1.154 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.000711/1.848, allocations: 339.8 kB / 1.486 GB, free: 7.766 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.849, allocations: 0.4966 MB / 1.487 GB, free: 7.266 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00843/1.857, allocations: 3.314 MB / 1.49 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/1.857, allocations: 12 kB / 1.49 GB, free: 3.914 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.857, allocations: 0 / 1.49 GB, free: 3.914 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/1.857, allocations: 15.91 kB / 1.49 GB, free: 3.898 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.871, allocations: 6.174 MB / 1.496 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.871, allocations: 0 / 1.496 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.873, allocations: 315.6 kB / 1.496 GB, free: 13.37 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/1.874, allocations: 365.8 kB / 1.497 GB, free: 13 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.874, allocations: 55.89 kB / 1.497 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/1.876, allocations: 2.627 MB / 1.499 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.876, allocations: 0 / 1.499 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008185/1.884, allocations: 3.09 MB / 1.502 GB, free: 7.086 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/1.887, allocations: 0.8097 MB / 1.503 GB, free: 6.254 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007751/1.887, allocations: 31.94 kB / 1.503 GB, free: 6.223 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/1.89, allocations: 147.8 kB / 1.503 GB, free: 6.078 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.89, allocations: 89.19 kB / 1.503 GB, free: 5.992 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.89, allocations: 87.92 kB / 1.504 GB, free: 5.906 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.006655/1.897, allocations: 3.624 MB / 1.507 GB, free: 2.285 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/1.897, allocations: 0 / 1.507 GB, free: 2.285 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.007136/1.904, allocations: 2.336 MB / 1.509 GB, free: 15.94 MB / 1.186 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.002087/1.906, allocations: 0.9253 MB / 1.51 GB, free: 15.07 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01563/1.922, allocations: 7.919 MB / 1.518 GB, free: 7.105 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.922, allocations: 0 / 1.518 GB, free: 7.105 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003148/1.925, allocations: 1.167 MB / 1.519 GB, free: 5.938 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009871/1.935, allocations: 2.425 MB / 1.522 GB, free: 3.59 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.951, allocations: 8.491 MB / 1.53 GB, free: 11.06 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/1.953, allocations: 2.871 MB / 1.533 GB, free: 8.152 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.005454/1.959, allocations: 1.334 MB / 1.534 GB, free: 6.812 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.96, allocations: 375.2 kB / 1.534 GB, free: 6.445 MB / 1.201 GB Notification: Performance of SimCode: time 9.12e-07/1.96, allocations: 0 / 1.534 GB, free: 6.445 MB / 1.201 GB Notification: Performance of Templates: time 0.1772/2.137, allocations: 105.2 MB / 1.637 GB, free: 14.58 MB / 1.311 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=480 -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