Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PumpCurveConstruction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.007208/0.007208, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001367/0.001367, allocations: 195 kB / 16.67 MB, free: 5.934 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.743/2.743, allocations: 469.4 MB / 0.7422 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 72.05 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2937, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.6892/0.983, allocations: 104.1 MB / 1.321 GB, free: 1.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05629/1.039, allocations: 34.96 MB / 1.356 GB, free: 9.004 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008241/1.048, allocations: 159.8 kB / 1.356 GB, free: 8.949 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009671/1.057, allocations: 2.914 MB / 1.359 GB, free: 7.445 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01945/1.077, allocations: 5.687 MB / 1.364 GB, free: 3.965 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/1.089, allocations: 4.051 MB / 1.368 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.04921/1.139, allocations: 31.56 MB / 1.399 GB, free: 15.1 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008344/1.147, allocations: 3.68 MB / 1.402 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/1.159, allocations: 4.363 MB / 1.407 GB, free: 6.988 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006718/1.166, allocations: 3.37 MB / 1.41 GB, free: 3.605 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002115/1.168, allocations: 456 kB / 1.41 GB, free: 3.16 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008793/1.177, allocations: 2.941 MB / 1.413 GB, free: 220 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003373/1.18, allocations: 1.881 MB / 1.415 GB, free: 14.33 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007442/1.187, allocations: 3.039 MB / 1.418 GB, free: 11.27 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01681/1.204, allocations: 9.006 MB / 1.427 GB, free: 2.234 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.204, allocations: 0 / 1.427 GB, free: 2.234 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.084e-06/1.204, allocations: 0 / 1.427 GB, free: 2.234 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003209/1.205, allocations: 0 / 1.427 GB, free: 2.234 MB / 1.107 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.01683/1.222, allocations: 6.615 MB / 1.433 GB, free: 11.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.222, allocations: 8.031 kB / 1.433 GB, free: 11.49 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008701/1.222, allocations: 295.7 kB / 1.434 GB, free: 11.19 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/1.235, allocations: 1.936 MB / 1.436 GB, free: 9.25 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03633/1.271, allocations: 18.03 MB / 1.453 GB, free: 7.145 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/1.271, allocations: 192.2 kB / 1.453 GB, free: 6.953 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/1.272, allocations: 243.9 kB / 1.454 GB, free: 6.715 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008302/1.281, allocations: 3.22 MB / 1.457 GB, free: 3.352 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/1.281, allocations: 3.938 kB / 1.457 GB, free: 3.348 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004984/1.281, allocations: 88 kB / 1.457 GB, free: 3.262 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/1.281, allocations: 52 kB / 1.457 GB, free: 3.211 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007257/1.289, allocations: 2.596 MB / 1.459 GB, free: 0.5977 MB / 1.139 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.02655/1.315, allocations: 14.91 MB / 1.474 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006191/1.322, allocations: 2.27 MB / 1.476 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/1.324, allocations: 0.9959 MB / 1.477 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/1.335, allocations: 4.999 MB / 1.482 GB, free: 8.215 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/1.335, allocations: 47.59 kB / 1.482 GB, free: 8.16 MB / 1.17 GB Notification: Performance of pre-optimization done (n=112): time 3.256e-06/1.335, allocations: 4 kB / 1.482 GB, free: 8.156 MB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.01266/1.348, allocations: 3.979 MB / 1.486 GB, free: 4.086 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.348, allocations: 60.41 kB / 1.486 GB, free: 4.012 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/1.36, allocations: 5.57 MB / 1.491 GB, free: 14.44 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0006691/1.36, allocations: 65.69 kB / 1.492 GB, free: 14.37 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002748/1.363, allocations: 2.281 MB / 1.494 GB, free: 12.07 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008669/1.364, allocations: 440.4 kB / 1.494 GB, free: 11.64 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002503/1.366, allocations: 0.8764 MB / 1.495 GB, free: 10.75 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/1.366, allocations: 305.1 kB / 1.495 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004914/1.371, allocations: 2.618 MB / 1.498 GB, free: 7.828 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/1.377, allocations: 3.467 MB / 1.501 GB, free: 4.047 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009609/1.387, allocations: 5.583 MB / 1.507 GB, free: 14.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.328e-05/1.387, allocations: 4 kB / 1.507 GB, free: 14.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01421/1.401, allocations: 7.084 MB / 1.514 GB, free: 7.066 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/1.401, allocations: 19.94 kB / 1.514 GB, free: 7.047 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/1.401, allocations: 16 kB / 1.514 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.403, allocations: 0.7184 MB / 1.514 GB, free: 6.301 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.406, allocations: 0.667 MB / 1.515 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/1.408, allocations: 2.732 MB / 1.518 GB, free: 2.797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/1.413, allocations: 449.9 kB / 1.518 GB, free: 2.359 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005991/1.413, allocations: 211.9 kB / 1.518 GB, free: 2.152 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006207/1.419, allocations: 3.259 MB / 1.522 GB, free: 14.88 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00482/1.424, allocations: 3.022 MB / 1.524 GB, free: 11.54 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008029/1.432, allocations: 4.718 MB / 1.529 GB, free: 6.57 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.959e-05/1.432, allocations: 8 kB / 1.529 GB, free: 6.562 MB / 1.217 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01299/1.445, allocations: 6.263 MB / 1.535 GB, free: 264 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/1.445, allocations: 15.98 kB / 1.535 GB, free: 248 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.446, allocations: 16 kB / 1.535 GB, free: 232 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/1.448, allocations: 0.8162 MB / 1.536 GB, free: 15.4 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.451, allocations: 0.628 MB / 1.537 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/1.468, allocations: 13.65 MB / 1.55 GB, free: 468 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/1.473, allocations: 366.8 kB / 1.55 GB, free: 100 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005894/1.473, allocations: 183.9 kB / 1.551 GB, free: 15.92 MB / 1.248 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.0008641/1.474, allocations: 328.4 kB / 1.551 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.475, allocations: 0.5005 MB / 1.551 GB, free: 15.09 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008756/1.484, allocations: 3.327 MB / 1.555 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/1.484, allocations: 15.98 kB / 1.555 GB, free: 11.72 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.484, allocations: 0 / 1.555 GB, free: 11.72 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/1.484, allocations: 3.984 kB / 1.555 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.499, allocations: 6.203 MB / 1.561 GB, free: 5.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.499, allocations: 4 kB / 1.561 GB, free: 5.426 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.501, allocations: 311.6 kB / 1.561 GB, free: 5.121 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/1.502, allocations: 374.9 kB / 1.561 GB, free: 4.742 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/1.502, allocations: 63.88 kB / 1.561 GB, free: 4.68 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/1.504, allocations: 2.612 MB / 1.564 GB, free: 1.965 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.504, allocations: 3.984 kB / 1.564 GB, free: 1.961 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007679/1.512, allocations: 3.095 MB / 1.567 GB, free: 14.82 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/1.514, allocations: 0.8172 MB / 1.568 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/1.515, allocations: 23.94 kB / 1.568 GB, free: 13.96 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.518, allocations: 151.8 kB / 1.568 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.518, allocations: 93.19 kB / 1.568 GB, free: 13.72 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/1.519, allocations: 87.92 kB / 1.568 GB, free: 13.64 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00685/1.525, allocations: 3.674 MB / 1.572 GB, free: 9.969 MB / 1.264 GB Notification: Performance of sort global known variables: time 4e-07/1.525, allocations: 0 / 1.572 GB, free: 9.969 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.007559/1.533, allocations: 2.344 MB / 1.574 GB, free: 7.621 MB / 1.264 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.009427/1.542, allocations: 4.235 MB / 1.578 GB, free: 3.344 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01587/1.558, allocations: 7.915 MB / 1.586 GB, free: 11.38 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.558, allocations: 3.938 kB / 1.586 GB, free: 11.38 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003211/1.562, allocations: 1.171 MB / 1.587 GB, free: 10.21 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01076/1.572, allocations: 2.423 MB / 1.589 GB, free: 7.859 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0856/1.658, allocations: 43.26 MB / 1.632 GB, free: 11.71 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.662, allocations: 2.872 MB / 1.634 GB, free: 8.801 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.005876/1.668, allocations: 1.343 MB / 1.636 GB, free: 7.453 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003857/1.672, allocations: 2.229 MB / 1.638 GB, free: 5.223 MB / 1.326 GB Notification: Performance of SimCode: time 1.102e-06/1.672, allocations: 0 / 1.638 GB, free: 5.223 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2191/1.891, allocations: 142.5 MB / 1.777 GB, free: 8.129 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.38/27.27, allocations: 18.47 kB / 1.777 GB, free: 8.117 MB / 1.467 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_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_PumpCurveConstruction.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches