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.007723/0.007723, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00177/0.00177, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.358/1.358, 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.504/2.504, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 79.83 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7645, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.0774/0.8419, allocations: 79.36 MB / 1.244 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03901/0.881, allocations: 28.41 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005824/0.8868, allocations: 127.4 kB / 1.272 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007618/0.8945, allocations: 2.64 MB / 1.274 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.9047, allocations: 3.991 MB / 1.278 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00733/0.9121, allocations: 3.176 MB / 1.281 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03088/0.943, allocations: 22.54 MB / 1.303 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.9474, allocations: 2.738 MB / 1.306 GB, free: 4.367 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007568/0.955, allocations: 3.211 MB / 1.309 GB, free: 1.156 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/0.9599, allocations: 2.561 MB / 1.311 GB, free: 14.58 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.9614, allocations: 372 kB / 1.312 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005971/0.9674, allocations: 2.367 MB / 1.314 GB, free: 11.85 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002401/0.9698, allocations: 1.811 MB / 1.316 GB, free: 10.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004668/0.9745, allocations: 2.678 MB / 1.318 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.9868, allocations: 8.021 MB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.9869, allocations: 4 kB / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9869, allocations: 0 / 1.326 GB, free: 15.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001762/0.987, allocations: 4 kB / 1.326 GB, free: 15.29 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.01151/0.9986, allocations: 6.087 MB / 1.332 GB, free: 9.094 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9986, allocations: 12.92 kB / 1.332 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002781/0.9989, allocations: 228.2 kB / 1.332 GB, free: 8.848 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008401/1.007, allocations: 1.577 MB / 1.334 GB, free: 7.266 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/1.024, allocations: 8.719 MB / 1.343 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/1.024, allocations: 139.2 kB / 1.343 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/1.024, allocations: 192 kB / 1.343 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005201/1.03, allocations: 2.603 MB / 1.345 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/1.03, allocations: 0 / 1.345 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/1.03, allocations: 71.92 kB / 1.345 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/1.03, allocations: 40 kB / 1.346 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005561/1.035, allocations: 2.018 MB / 1.347 GB, free: 9.324 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.02025/1.056, allocations: 12.13 MB / 1.359 GB, free: 12.61 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004865/1.061, allocations: 1.716 MB / 1.361 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.063, allocations: 0.785 MB / 1.362 GB, free: 10.1 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008102/1.071, allocations: 4.226 MB / 1.366 GB, free: 5.602 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/1.071, allocations: 47.14 kB / 1.366 GB, free: 5.547 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 4.248e-06/1.071, allocations: 0 / 1.366 GB, free: 5.547 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.008269/1.079, allocations: 2.816 MB / 1.369 GB, free: 2.699 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.079, allocations: 68 kB / 1.369 GB, free: 2.621 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01571/1.095, allocations: 7.204 MB / 1.376 GB, free: 11.44 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004465/1.095, allocations: 49.7 kB / 1.376 GB, free: 11.38 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002662/1.098, allocations: 2.072 MB / 1.378 GB, free: 9.301 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006017/1.099, allocations: 325.3 kB / 1.378 GB, free: 8.98 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00174/1.1, allocations: 0.6974 MB / 1.379 GB, free: 8.273 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.101, allocations: 305.1 kB / 1.379 GB, free: 7.973 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/1.104, allocations: 2.032 MB / 1.381 GB, free: 5.93 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/1.109, allocations: 2.915 MB / 1.384 GB, free: 2.668 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/1.117, allocations: 4.581 MB / 1.388 GB, free: 13.79 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/1.117, allocations: 8 kB / 1.388 GB, free: 13.79 MB / 1.123 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01091/1.128, allocations: 5.617 MB / 1.394 GB, free: 8.152 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/1.128, allocations: 16 kB / 1.394 GB, free: 8.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/1.128, allocations: 20 kB / 1.394 GB, free: 8.117 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008978/1.129, allocations: 416.6 kB / 1.394 GB, free: 7.707 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/1.132, allocations: 0.5814 MB / 1.395 GB, free: 7.125 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000983/1.133, allocations: 0.9036 MB / 1.396 GB, free: 6.195 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004099/1.137, allocations: 410.2 kB / 1.396 GB, free: 5.793 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003773/1.137, allocations: 163.9 kB / 1.396 GB, free: 5.633 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005693/1.143, allocations: 2.85 MB / 1.399 GB, free: 2.777 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004572/1.147, allocations: 2.687 MB / 1.402 GB, free: 15.74 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007304/1.155, allocations: 4.137 MB / 1.406 GB, free: 11.31 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.975e-05/1.155, allocations: 8 kB / 1.406 GB, free: 11.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01067/1.165, allocations: 5.181 MB / 1.411 GB, free: 6.102 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.166, allocations: 12 kB / 1.411 GB, free: 6.09 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/1.166, allocations: 28.09 kB / 1.411 GB, free: 6.062 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/1.167, allocations: 444.6 kB / 1.411 GB, free: 5.625 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/1.169, allocations: 0.5734 MB / 1.412 GB, free: 5.051 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009075/1.178, allocations: 6.121 MB / 1.418 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/1.182, allocations: 327.2 kB / 1.418 GB, free: 14.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005994/1.183, allocations: 144 kB / 1.418 GB, free: 14.25 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.0008798/1.184, allocations: 311.5 kB / 1.419 GB, free: 13.94 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001492/1.185, allocations: 468.8 kB / 1.419 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007347/1.193, allocations: 2.485 MB / 1.422 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/1.193, allocations: 12 kB / 1.422 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.193, allocations: 0 / 1.422 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.193, allocations: 3.984 kB / 1.422 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.208, allocations: 5.27 MB / 1.427 GB, free: 5.613 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/1.208, allocations: 4 kB / 1.427 GB, free: 5.609 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.21, allocations: 267.8 kB / 1.427 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004286/1.21, allocations: 160.8 kB / 1.427 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/1.21, allocations: 39.97 kB / 1.427 GB, free: 5.148 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008357/1.211, allocations: 0.806 MB / 1.428 GB, free: 4.316 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.211, allocations: 3.938 kB / 1.428 GB, free: 4.312 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009458/1.221, allocations: 3.446 MB / 1.431 GB, free: 0.832 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002729/1.223, allocations: 0.806 MB / 1.432 GB, free: 4 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/1.225, allocations: 16.05 kB / 1.432 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/1.228, allocations: 151.7 kB / 1.432 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/1.228, allocations: 72.84 kB / 1.432 GB, free: 15.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.228, allocations: 59.94 kB / 1.432 GB, free: 15.71 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.009351/1.237, allocations: 5.06 MB / 1.437 GB, free: 10.68 MB / 1.17 GB Notification: Performance of sort global known variables: time 7.72e-07/1.237, allocations: 0 / 1.437 GB, free: 10.68 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.007372/1.245, allocations: 1.958 MB / 1.439 GB, free: 8.715 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.01123/1.256, allocations: 4.631 MB / 1.444 GB, free: 4.047 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.268, allocations: 5.766 MB / 1.449 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.268, allocations: 8 kB / 1.449 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/1.271, allocations: 0.8764 MB / 1.45 GB, free: 13.39 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/1.282, allocations: 2.424 MB / 1.453 GB, free: 11.03 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08342/1.366, allocations: 43.96 MB / 1.496 GB, free: 14.1 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003398/1.369, allocations: 2.667 MB / 1.498 GB, free: 11.4 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.005146/1.374, allocations: 1.228 MB / 1.499 GB, free: 10.16 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003445/1.378, allocations: 1.991 MB / 1.501 GB, free: 8.172 MB / 1.232 GB Notification: Performance of SimCode: time 8.72e-07/1.378, allocations: 0 / 1.501 GB, free: 8.172 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8589/2.237, allocations: 131.4 MB / 1.63 GB, free: 315.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.8/26.04, allocations: 7.766 kB / 1.63 GB, free: 315.8 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