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.007693/0.007693, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.002385/0.002385, allocations: 203.4 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.755/2.755, allocations: 437.1 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08272/0.403, allocations: 79.37 MB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7592/1.162, allocations: 28.38 MB / 1.271 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006842/1.169, allocations: 122.8 kB / 1.272 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009406/1.179, allocations: 2.64 MB / 1.274 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/1.192, allocations: 4.005 MB / 1.278 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009887/1.201, allocations: 3.177 MB / 1.281 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04106/1.243, allocations: 22.52 MB / 1.303 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00708/1.25, allocations: 2.751 MB / 1.306 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009569/1.259, allocations: 3.198 MB / 1.309 GB, free: 13.24 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005849/1.265, allocations: 2.572 MB / 1.311 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001384/1.267, allocations: 370.9 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008331/1.275, allocations: 2.361 MB / 1.314 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003133/1.278, allocations: 1.812 MB / 1.316 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0071/1.285, allocations: 2.681 MB / 1.318 GB, free: 9.234 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01746/1.303, allocations: 8.027 MB / 1.326 GB, free: 5.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.303, allocations: 0 / 1.326 GB, free: 5.625 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.165e-06/1.303, allocations: 1.375 kB / 1.326 GB, free: 5.625 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003113/1.303, allocations: 0 / 1.326 GB, free: 5.625 MB / 1.014 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.02292/1.326, allocations: 6.101 MB / 1.332 GB, free: 1.203 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.425e-05/1.326, allocations: 9.281 kB / 1.332 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006585/1.327, allocations: 229 kB / 1.332 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00961/1.336, allocations: 1.573 MB / 1.334 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.354, allocations: 8.721 MB / 1.343 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/1.354, allocations: 144.3 kB / 1.343 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007912/1.355, allocations: 182 kB / 1.343 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005931/1.361, allocations: 2.606 MB / 1.345 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/1.361, allocations: 6.625 kB / 1.345 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/1.361, allocations: 68.06 kB / 1.345 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/1.361, allocations: 38.94 kB / 1.345 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005253/1.366, allocations: 2.005 MB / 1.347 GB, free: 8.367 MB / 1.029 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.02404/1.39, allocations: 12.14 MB / 1.359 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/1.396, allocations: 1.72 MB / 1.361 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/1.398, allocations: 0.7956 MB / 1.362 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008779/1.407, allocations: 4.211 MB / 1.366 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/1.407, allocations: 55.14 kB / 1.366 GB, free: 6.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/1.407, allocations: 0 / 1.366 GB, free: 6.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=82): time 0.009361/1.416, allocations: 2.808 MB / 1.369 GB, free: 3.801 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/1.416, allocations: 60.06 kB / 1.369 GB, free: 3.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/1.431, allocations: 7.204 MB / 1.376 GB, free: 12.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004801/1.432, allocations: 49.7 kB / 1.376 GB, free: 12.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002878/1.435, allocations: 2.078 MB / 1.378 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006721/1.436, allocations: 323 kB / 1.378 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/1.438, allocations: 0.7042 MB / 1.379 GB, free: 9.406 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/1.438, allocations: 313 kB / 1.379 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/1.442, allocations: 2.028 MB / 1.381 GB, free: 7.059 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004756/1.447, allocations: 2.913 MB / 1.384 GB, free: 3.805 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008382/1.455, allocations: 4.58 MB / 1.388 GB, free: 14.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.815e-05/1.455, allocations: 8 kB / 1.388 GB, free: 14.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01208/1.467, allocations: 5.609 MB / 1.394 GB, free: 9.332 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/1.467, allocations: 19.94 kB / 1.394 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/1.467, allocations: 25.64 kB / 1.394 GB, free: 9.289 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008932/1.468, allocations: 421.2 kB / 1.394 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.471, allocations: 0.5811 MB / 1.395 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009713/1.472, allocations: 0.8997 MB / 1.396 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/1.476, allocations: 409.5 kB / 1.396 GB, free: 6.965 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004182/1.477, allocations: 159.9 kB / 1.396 GB, free: 6.809 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005924/1.483, allocations: 2.862 MB / 1.399 GB, free: 3.941 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004181/1.487, allocations: 2.685 MB / 1.402 GB, free: 0.9141 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006856/1.494, allocations: 4.137 MB / 1.406 GB, free: 12.49 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.516e-05/1.494, allocations: 8 kB / 1.406 GB, free: 12.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01123/1.505, allocations: 5.194 MB / 1.411 GB, free: 7.293 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/1.505, allocations: 13.72 kB / 1.411 GB, free: 7.281 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/1.505, allocations: 20 kB / 1.411 GB, free: 7.262 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.506, allocations: 444.8 kB / 1.411 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/1.509, allocations: 0.5694 MB / 1.412 GB, free: 6.254 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/1.517, allocations: 6.123 MB / 1.418 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005194/1.523, allocations: 322.7 kB / 1.418 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006298/1.523, allocations: 140 kB / 1.418 GB, free: 15.47 MB / 1.107 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.0009331/1.524, allocations: 323.4 kB / 1.419 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/1.526, allocations: 464.8 kB / 1.419 GB, free: 14.69 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007766/1.534, allocations: 2.489 MB / 1.422 GB, free: 12.18 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.534, allocations: 12 kB / 1.422 GB, free: 12.17 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.534, allocations: 0 / 1.422 GB, free: 12.17 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/1.534, allocations: 7.969 kB / 1.422 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.551, allocations: 5.268 MB / 1.427 GB, free: 6.848 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/1.551, allocations: 4 kB / 1.427 GB, free: 6.844 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.553, allocations: 263.8 kB / 1.427 GB, free: 6.586 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/1.553, allocations: 164.7 kB / 1.427 GB, free: 6.422 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.554, allocations: 35.97 kB / 1.427 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007743/1.554, allocations: 0.8099 MB / 1.428 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.554, allocations: 0 / 1.428 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009101/1.563, allocations: 3.442 MB / 1.431 GB, free: 2.074 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/1.566, allocations: 0.8098 MB / 1.432 GB, free: 1.242 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/1.568, allocations: 16 kB / 1.432 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/1.571, allocations: 147.8 kB / 1.432 GB, free: 1.082 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/1.571, allocations: 68.84 kB / 1.432 GB, free: 1.012 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.572, allocations: 63.94 kB / 1.432 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.009759/1.581, allocations: 5.056 MB / 1.437 GB, free: 11.92 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.92e-07/1.581, allocations: 0 / 1.437 GB, free: 11.92 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.008754/1.59, allocations: 1.96 MB / 1.439 GB, free: 9.961 MB / 1.123 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.01197/1.602, allocations: 4.631 MB / 1.444 GB, free: 5.344 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.615, allocations: 5.761 MB / 1.449 GB, free: 15.58 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.616, allocations: 0 / 1.449 GB, free: 15.58 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002805/1.618, allocations: 0.8814 MB / 1.45 GB, free: 14.7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01429/1.633, allocations: 2.418 MB / 1.453 GB, free: 12.34 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09514/1.728, allocations: 43.97 MB / 1.496 GB, free: 15.43 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004706/1.733, allocations: 2.671 MB / 1.498 GB, free: 12.72 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.006559/1.739, allocations: 1.228 MB / 1.499 GB, free: 11.48 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004257/1.744, allocations: 1.987 MB / 1.501 GB, free: 9.496 MB / 1.186 GB Notification: Performance of SimCode: time 1.242e-06/1.744, allocations: 4 kB / 1.501 GB, free: 9.492 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/1.964, allocations: 131.4 MB / 1.63 GB, free: 7.711 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.01/25.98, allocations: 23.11 kB / 1.63 GB, free: 7.691 MB / 1.311 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