Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_latest_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.00611/0.00611, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001205/0.001205, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.7/2.7, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2864, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.6963/0.9828, allocations: 79.36 MB / 1.297 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04171/1.025, allocations: 28.43 MB / 1.325 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005741/1.03, allocations: 122.1 kB / 1.325 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.008872/1.039, allocations: 2.644 MB / 1.328 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01386/1.053, allocations: 3.985 MB / 1.332 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01068/1.064, allocations: 3.174 MB / 1.335 GB, free: 9.609 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03904/1.103, allocations: 22.54 MB / 1.357 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005625/1.109, allocations: 2.753 MB / 1.359 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008635/1.117, allocations: 3.206 MB / 1.363 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/1.122, allocations: 2.57 MB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001473/1.124, allocations: 371.8 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007466/1.131, allocations: 2.36 MB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003109/1.134, allocations: 1.811 MB / 1.369 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006033/1.141, allocations: 2.682 MB / 1.372 GB, free: 7.168 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01455/1.155, allocations: 8.019 MB / 1.38 GB, free: 1.645 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.155, allocations: 4 kB / 1.38 GB, free: 1.641 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/1.155, allocations: 0 / 1.38 GB, free: 1.641 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002696/1.155, allocations: 0 / 1.38 GB, free: 1.641 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.01581/1.171, allocations: 6.1 MB / 1.386 GB, free: 11.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.171, allocations: 12.03 kB / 1.386 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000553/1.172, allocations: 232.2 kB / 1.386 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008914/1.181, allocations: 1.569 MB / 1.388 GB, free: 10.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.197, allocations: 8.723 MB / 1.396 GB, free: 1.246 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/1.197, allocations: 143.2 kB / 1.396 GB, free: 1.105 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006948/1.198, allocations: 184 kB / 1.396 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006352/1.204, allocations: 2.603 MB / 1.399 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/1.204, allocations: 4 kB / 1.399 GB, free: 14.22 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.204, allocations: 68 kB / 1.399 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/1.205, allocations: 51.88 kB / 1.399 GB, free: 14.11 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005665/1.21, allocations: 2.006 MB / 1.401 GB, free: 12.09 MB / 1.092 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.0195/1.23, allocations: 12.13 MB / 1.413 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005024/1.235, allocations: 1.708 MB / 1.415 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/1.237, allocations: 0.7967 MB / 1.415 GB, free: 12.86 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00764/1.245, allocations: 4.214 MB / 1.419 GB, free: 8.379 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.245, allocations: 39.22 kB / 1.42 GB, free: 8.332 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 5.12e-06/1.245, allocations: 4 kB / 1.42 GB, free: 8.328 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.008418/1.253, allocations: 2.812 MB / 1.422 GB, free: 5.484 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/1.253, allocations: 71.94 kB / 1.422 GB, free: 5.402 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.265, allocations: 7.2 MB / 1.429 GB, free: 14.22 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003096/1.265, allocations: 57.7 kB / 1.429 GB, free: 14.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002029/1.267, allocations: 2.069 MB / 1.431 GB, free: 12.08 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/1.267, allocations: 325.4 kB / 1.432 GB, free: 11.76 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/1.269, allocations: 0.7052 MB / 1.432 GB, free: 11.05 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/1.269, allocations: 301.1 kB / 1.433 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003526/1.272, allocations: 2.032 MB / 1.435 GB, free: 8.707 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/1.277, allocations: 2.915 MB / 1.438 GB, free: 5.441 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007102/1.284, allocations: 4.585 MB / 1.442 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/1.284, allocations: 12 kB / 1.442 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01033/1.294, allocations: 5.617 MB / 1.448 GB, free: 10.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/1.294, allocations: 13.72 kB / 1.448 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/1.294, allocations: 24 kB / 1.448 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008037/1.295, allocations: 404.6 kB / 1.448 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.297, allocations: 0.5894 MB / 1.449 GB, free: 9.895 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000826/1.298, allocations: 0.8997 MB / 1.449 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003845/1.302, allocations: 415 kB / 1.45 GB, free: 8.562 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/1.302, allocations: 155.9 kB / 1.45 GB, free: 8.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004825/1.307, allocations: 2.852 MB / 1.453 GB, free: 5.551 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003722/1.311, allocations: 2.691 MB / 1.455 GB, free: 2.512 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006249/1.317, allocations: 4.137 MB / 1.459 GB, free: 14.08 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-05/1.317, allocations: 4 kB / 1.459 GB, free: 14.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.009861/1.327, allocations: 5.184 MB / 1.464 GB, free: 8.871 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.327, allocations: 16 kB / 1.464 GB, free: 8.855 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/1.327, allocations: 20 kB / 1.465 GB, free: 8.836 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/1.328, allocations: 452.6 kB / 1.465 GB, free: 8.391 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/1.331, allocations: 0.5616 MB / 1.465 GB, free: 7.828 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008144/1.339, allocations: 6.129 MB / 1.471 GB, free: 1.484 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004532/1.343, allocations: 323.1 kB / 1.472 GB, free: 1.168 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006476/1.344, allocations: 144 kB / 1.472 GB, free: 1.027 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.0009123/1.345, allocations: 315.4 kB / 1.472 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/1.346, allocations: 472.7 kB / 1.473 GB, free: 252 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0067/1.353, allocations: 2.485 MB / 1.475 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.353, allocations: 11.98 kB / 1.475 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.353, allocations: 3.984 kB / 1.475 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.353, allocations: 7.984 kB / 1.475 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/1.366, allocations: 5.278 MB / 1.48 GB, free: 8.367 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.366, allocations: 0 / 1.48 GB, free: 8.367 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/1.368, allocations: 263.8 kB / 1.481 GB, free: 8.109 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/1.368, allocations: 168.6 kB / 1.481 GB, free: 7.941 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.368, allocations: 31.97 kB / 1.481 GB, free: 7.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006492/1.369, allocations: 0.8138 MB / 1.482 GB, free: 7.07 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.369, allocations: 4 kB / 1.482 GB, free: 7.066 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00856/1.377, allocations: 3.431 MB / 1.485 GB, free: 3.602 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.38, allocations: 0.8137 MB / 1.486 GB, free: 2.766 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/1.381, allocations: 20 kB / 1.486 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/1.384, allocations: 147.8 kB / 1.486 GB, free: 2.602 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.384, allocations: 72.84 kB / 1.486 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.385, allocations: 51.95 kB / 1.486 GB, free: 2.477 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.008492/1.393, allocations: 5.064 MB / 1.491 GB, free: 13.44 MB / 1.186 GB Notification: Performance of sort global known variables: time 4.61e-07/1.393, allocations: 0 / 1.491 GB, free: 13.44 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.009047/1.402, allocations: 1.962 MB / 1.493 GB, free: 11.48 MB / 1.186 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.01136/1.414, allocations: 4.624 MB / 1.497 GB, free: 6.816 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01119/1.425, allocations: 5.769 MB / 1.503 GB, free: 1.047 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.425, allocations: 0 / 1.503 GB, free: 1.047 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/1.427, allocations: 0.8731 MB / 1.504 GB, free: 180 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01172/1.439, allocations: 2.42 MB / 1.506 GB, free: 13.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07659/1.516, allocations: 43.95 MB / 1.549 GB, free: 0.8984 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/1.519, allocations: 2.671 MB / 1.552 GB, free: 14.19 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.004715/1.523, allocations: 1.22 MB / 1.553 GB, free: 12.96 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/1.526, allocations: 2.003 MB / 1.555 GB, free: 10.96 MB / 1.248 GB Notification: Performance of SimCode: time 8.92e-07/1.526, allocations: 3.938 kB / 1.555 GB, free: 10.96 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2048/1.731, allocations: 131.4 MB / 1.683 GB, free: 8.996 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.01/26.74, allocations: 11.77 kB / 1.683 GB, free: 8.984 MB / 1.373 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches