Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007714/0.007714, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.002023/0.002023, allocations: 188.6 kB / 16.67 MB, free: 5.973 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.662/2.662, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 67.91 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7382, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08869/0.8269, allocations: 79.37 MB / 1.244 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0441/0.871, allocations: 28.41 MB / 1.271 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005069/0.8762, allocations: 119.4 kB / 1.272 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008161/0.8844, allocations: 2.641 MB / 1.274 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.8956, allocations: 3.889 MB / 1.278 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008869/0.9045, allocations: 3.162 MB / 1.281 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0363/0.9408, allocations: 22.52 MB / 1.303 GB, free: 7.312 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005081/0.9459, allocations: 2.738 MB / 1.306 GB, free: 4.512 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007567/0.9535, allocations: 3.148 MB / 1.309 GB, free: 1.363 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004741/0.9583, allocations: 2.561 MB / 1.311 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.9597, allocations: 376 kB / 1.312 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005709/0.9654, allocations: 2.367 MB / 1.314 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002178/0.9676, allocations: 1.811 MB / 1.316 GB, free: 10.24 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003714/0.9713, allocations: 2.682 MB / 1.318 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.9835, allocations: 8.014 MB / 1.326 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9835, allocations: 0 / 1.326 GB, free: 15.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9835, allocations: 0 / 1.326 GB, free: 15.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001625/0.9837, allocations: 0 / 1.326 GB, free: 15.5 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: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01386/0.9976, allocations: 6.103 MB / 1.332 GB, free: 9.293 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.9976, allocations: 8.922 kB / 1.332 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004156/0.9981, allocations: 224.2 kB / 1.332 GB, free: 9.055 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008894/1.007, allocations: 1.581 MB / 1.334 GB, free: 7.469 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/1.024, allocations: 8.722 MB / 1.342 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/1.024, allocations: 139.2 kB / 1.342 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005267/1.025, allocations: 188 kB / 1.343 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/1.031, allocations: 2.603 MB / 1.345 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.031, allocations: 3.938 kB / 1.345 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/1.031, allocations: 71.94 kB / 1.345 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/1.031, allocations: 40 kB / 1.345 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006049/1.037, allocations: 2.006 MB / 1.347 GB, free: 9.543 MB / 1.076 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.02222/1.059, allocations: 12.15 MB / 1.359 GB, free: 12.81 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/1.065, allocations: 1.7 MB / 1.361 GB, free: 11.11 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/1.067, allocations: 0.7928 MB / 1.362 GB, free: 10.31 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008056/1.075, allocations: 4.221 MB / 1.366 GB, free: 5.816 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.075, allocations: 43.22 kB / 1.366 GB, free: 5.766 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 5.07e-06/1.075, allocations: 3.984 kB / 1.366 GB, free: 5.762 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.009339/1.085, allocations: 2.823 MB / 1.369 GB, free: 2.906 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.085, allocations: 64 kB / 1.369 GB, free: 2.832 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01322/1.098, allocations: 7.204 MB / 1.376 GB, free: 11.65 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003668/1.099, allocations: 57.7 kB / 1.376 GB, free: 11.59 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.101, allocations: 2.069 MB / 1.378 GB, free: 9.508 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/1.101, allocations: 321.4 kB / 1.378 GB, free: 9.191 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/1.103, allocations: 0.7052 MB / 1.379 GB, free: 8.477 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.103, allocations: 301.1 kB / 1.379 GB, free: 8.18 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/1.107, allocations: 2.032 MB / 1.381 GB, free: 6.137 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00482/1.111, allocations: 2.914 MB / 1.384 GB, free: 2.875 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008103/1.12, allocations: 4.585 MB / 1.388 GB, free: 14 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-05/1.12, allocations: 8 kB / 1.388 GB, free: 13.99 MB / 1.123 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01204/1.132, allocations: 5.614 MB / 1.394 GB, free: 8.359 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/1.132, allocations: 16.12 kB / 1.394 GB, free: 8.344 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/1.132, allocations: 28 kB / 1.394 GB, free: 8.316 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009987/1.133, allocations: 404.6 kB / 1.394 GB, free: 7.918 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.135, allocations: 0.585 MB / 1.395 GB, free: 7.332 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/1.136, allocations: 0.8997 MB / 1.396 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/1.14, allocations: 410.2 kB / 1.396 GB, free: 6.004 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004571/1.141, allocations: 159.9 kB / 1.396 GB, free: 5.848 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005642/1.146, allocations: 2.855 MB / 1.399 GB, free: 2.984 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004502/1.151, allocations: 2.687 MB / 1.402 GB, free: 15.95 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007823/1.159, allocations: 4.141 MB / 1.406 GB, free: 11.51 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.063e-05/1.159, allocations: 4 kB / 1.406 GB, free: 11.51 MB / 1.139 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.0116/1.17, allocations: 5.184 MB / 1.411 GB, free: 6.305 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.17, allocations: 16 kB / 1.411 GB, free: 6.289 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/1.171, allocations: 23.94 kB / 1.411 GB, free: 6.266 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.172, allocations: 453.4 kB / 1.411 GB, free: 5.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/1.174, allocations: 0.5577 MB / 1.412 GB, free: 5.262 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009546/1.184, allocations: 6.118 MB / 1.418 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004174/1.188, allocations: 343.2 kB / 1.418 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005374/1.189, allocations: 140 kB / 1.418 GB, free: 14.46 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (281): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006856/1.189, allocations: 312.6 kB / 1.418 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.191, allocations: 468.8 kB / 1.419 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007411/1.198, allocations: 2.477 MB / 1.421 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.198, allocations: 15.98 kB / 1.421 GB, free: 11.17 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.198, allocations: 4 kB / 1.421 GB, free: 11.17 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.198, allocations: 3.984 kB / 1.421 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.213, allocations: 5.263 MB / 1.426 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/1.213, allocations: 8.062 kB / 1.426 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.215, allocations: 267.6 kB / 1.427 GB, free: 5.555 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/1.215, allocations: 164.7 kB / 1.427 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.215, allocations: 35.95 kB / 1.427 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009295/1.216, allocations: 0.8138 MB / 1.428 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.216, allocations: 0 / 1.428 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009527/1.226, allocations: 3.442 MB / 1.431 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002558/1.228, allocations: 0.8099 MB / 1.432 GB, free: 212 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.23, allocations: 16 kB / 1.432 GB, free: 196 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/1.232, allocations: 147.8 kB / 1.432 GB, free: 48 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/1.233, allocations: 76.89 kB / 1.432 GB, free: 15.96 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.233, allocations: 51.91 kB / 1.432 GB, free: 15.92 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.01003/1.243, allocations: 5.068 MB / 1.437 GB, free: 10.88 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.31e-07/1.243, allocations: 0 / 1.437 GB, free: 10.88 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.007547/1.251, allocations: 1.958 MB / 1.439 GB, free: 8.918 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dy.x,dm_flow_dy.x) * 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 (96): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01303/1.264, allocations: 4.618 MB / 1.444 GB, free: 4.262 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01293/1.277, allocations: 5.766 MB / 1.449 GB, free: 14.49 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.277, allocations: 0 / 1.449 GB, free: 14.49 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/1.279, allocations: 0.881 MB / 1.45 GB, free: 13.61 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.289, allocations: 2.422 MB / 1.452 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08822/1.377, allocations: 43.97 MB / 1.495 GB, free: 14.32 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004464/1.382, allocations: 2.671 MB / 1.498 GB, free: 11.61 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.005644/1.388, allocations: 1.225 MB / 1.499 GB, free: 10.38 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003853/1.392, allocations: 1.999 MB / 1.501 GB, free: 8.379 MB / 1.232 GB Notification: Performance of SimCode: time 1.353e-06/1.392, allocations: 3.938 kB / 1.501 GB, free: 8.375 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8133/2.205, allocations: 131.4 MB / 1.629 GB, free: 318.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.37/27.57, allocations: 7.781 kB / 1.629 GB, free: 318.9 MB / 1.279 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches