Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PumpCurveConstruction,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_10_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.008783/0.008783, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.002069/0.002069, allocations: 190.2 kB / 16.67 MB, free: 6.355 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: 4.281 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.581/2.581, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2711, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.707/0.9782, allocations: 104.1 MB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04566/1.024, allocations: 34.93 MB / 1.302 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006918/1.031, allocations: 159.5 kB / 1.302 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008249/1.039, allocations: 2.869 MB / 1.305 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0169/1.056, allocations: 5.474 MB / 1.31 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01162/1.068, allocations: 4.05 MB / 1.314 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.04807/1.116, allocations: 31.53 MB / 1.345 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006649/1.122, allocations: 3.675 MB / 1.349 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/1.133, allocations: 4.254 MB / 1.353 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006106/1.139, allocations: 3.373 MB / 1.356 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001394/1.141, allocations: 462.1 kB / 1.356 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00758/1.148, allocations: 2.935 MB / 1.359 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002191/1.15, allocations: 1.872 MB / 1.361 GB, free: 8.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004609/1.155, allocations: 3.048 MB / 1.364 GB, free: 6.645 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/1.169, allocations: 8.962 MB / 1.373 GB, free: 14.64 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.169, allocations: 0 / 1.373 GB, free: 14.64 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.675e-06/1.169, allocations: 0 / 1.373 GB, free: 14.64 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002358/1.17, allocations: 0 / 1.373 GB, free: 14.64 MB / 1.045 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.0146/1.184, allocations: 6.405 MB / 1.379 GB, free: 8.164 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.184, allocations: 12.03 kB / 1.379 GB, free: 8.152 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004687/1.185, allocations: 299.7 kB / 1.379 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/1.196, allocations: 1.901 MB / 1.381 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03292/1.229, allocations: 17.97 MB / 1.399 GB, free: 4.445 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/1.23, allocations: 187.5 kB / 1.399 GB, free: 4.262 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009038/1.231, allocations: 244 kB / 1.399 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006494/1.237, allocations: 3.219 MB / 1.402 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/1.237, allocations: 11.94 kB / 1.402 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/1.237, allocations: 88 kB / 1.403 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/1.237, allocations: 52 kB / 1.403 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006704/1.244, allocations: 2.594 MB / 1.405 GB, free: 13.9 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.02145/1.266, allocations: 14.88 MB / 1.42 GB, free: 14.23 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005748/1.271, allocations: 2.288 MB / 1.422 GB, free: 11.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/1.274, allocations: 0.9998 MB / 1.423 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0086/1.282, allocations: 4.984 MB / 1.428 GB, free: 5.711 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/1.283, allocations: 47.56 kB / 1.428 GB, free: 5.656 MB / 1.092 GB Notification: Performance of pre-optimization done (n=112): time 3.697e-06/1.283, allocations: 0 / 1.428 GB, free: 5.656 MB / 1.092 GB Notification: Performance of matching and sorting (n=112): time 0.01166/1.294, allocations: 3.955 MB / 1.432 GB, free: 1.625 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.294, allocations: 64.41 kB / 1.432 GB, free: 1.551 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00859/1.303, allocations: 5.558 MB / 1.437 GB, free: 11.99 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005273/1.303, allocations: 64.52 kB / 1.437 GB, free: 11.92 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.305, allocations: 2.263 MB / 1.439 GB, free: 9.668 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006036/1.306, allocations: 406.5 kB / 1.44 GB, free: 9.273 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/1.307, allocations: 0.8828 MB / 1.441 GB, free: 8.387 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/1.307, allocations: 301.1 kB / 1.441 GB, free: 8.09 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004291/1.312, allocations: 2.621 MB / 1.443 GB, free: 5.461 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004895/1.317, allocations: 3.467 MB / 1.447 GB, free: 1.68 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009275/1.326, allocations: 5.576 MB / 1.452 GB, free: 11.85 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.326, allocations: 4 kB / 1.452 GB, free: 11.84 MB / 1.123 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.0129/1.339, allocations: 7.066 MB / 1.459 GB, free: 4.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.339, allocations: 15.94 kB / 1.459 GB, free: 4.715 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.339, allocations: 24.12 kB / 1.459 GB, free: 4.691 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/1.341, allocations: 0.7166 MB / 1.46 GB, free: 3.965 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/1.344, allocations: 0.6669 MB / 1.461 GB, free: 3.297 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/1.346, allocations: 2.721 MB / 1.463 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/1.35, allocations: 453.7 kB / 1.464 GB, free: 28 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006077/1.351, allocations: 207.9 kB / 1.464 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005937/1.357, allocations: 3.251 MB / 1.467 GB, free: 12.57 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004189/1.361, allocations: 3.034 MB / 1.47 GB, free: 9.219 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007262/1.368, allocations: 4.719 MB / 1.475 GB, free: 4.246 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.146e-05/1.368, allocations: 4 kB / 1.475 GB, free: 4.242 MB / 1.139 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01166/1.38, allocations: 6.245 MB / 1.481 GB, free: 13.96 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.38, allocations: 13.88 kB / 1.481 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/1.38, allocations: 16 kB / 1.481 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/1.383, allocations: 0.8036 MB / 1.482 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/1.385, allocations: 0.6357 MB / 1.482 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/1.403, allocations: 13.63 MB / 1.495 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/1.407, allocations: 362.2 kB / 1.496 GB, free: 13.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004875/1.407, allocations: 178.7 kB / 1.496 GB, free: 13.67 MB / 1.17 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.0007365/1.408, allocations: 328.4 kB / 1.496 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009906/1.409, allocations: 485.5 kB / 1.497 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008291/1.417, allocations: 3.332 MB / 1.5 GB, free: 9.504 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.417, allocations: 16 kB / 1.5 GB, free: 9.488 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.417, allocations: 4 kB / 1.5 GB, free: 9.484 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.417, allocations: 7.969 kB / 1.5 GB, free: 9.477 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.43, allocations: 6.202 MB / 1.506 GB, free: 3.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.43, allocations: 4 kB / 1.506 GB, free: 3.227 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.432, allocations: 303.7 kB / 1.506 GB, free: 2.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009979/1.433, allocations: 369.9 kB / 1.507 GB, free: 2.559 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.433, allocations: 59.88 kB / 1.507 GB, free: 2.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/1.435, allocations: 2.62 MB / 1.509 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.435, allocations: 4.031 kB / 1.509 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007828/1.443, allocations: 3.06 MB / 1.512 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/1.445, allocations: 0.7869 MB / 1.513 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.446, allocations: 35.94 kB / 1.513 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/1.449, allocations: 151.8 kB / 1.513 GB, free: 11.67 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.449, allocations: 85.19 kB / 1.513 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.449, allocations: 91.92 kB / 1.513 GB, free: 11.5 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006735/1.456, allocations: 3.67 MB / 1.517 GB, free: 7.836 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.91e-07/1.456, allocations: 0 / 1.517 GB, free: 7.836 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.007517/1.464, allocations: 2.324 MB / 1.519 GB, free: 5.508 MB / 1.186 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.009071/1.473, allocations: 4.203 MB / 1.523 GB, free: 1.309 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01539/1.488, allocations: 7.918 MB / 1.531 GB, free: 9.344 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.488, allocations: 192 / 1.531 GB, free: 9.344 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.492, allocations: 1.167 MB / 1.532 GB, free: 8.176 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009896/1.501, allocations: 2.439 MB / 1.535 GB, free: 5.816 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08332/1.585, allocations: 43.1 MB / 1.577 GB, free: 9.867 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003529/1.588, allocations: 2.876 MB / 1.58 GB, free: 6.957 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.006159/1.595, allocations: 1.335 MB / 1.581 GB, free: 5.617 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003709/1.598, allocations: 2.229 MB / 1.583 GB, free: 3.387 MB / 1.248 GB Notification: Performance of SimCode: time 1.082e-06/1.598, allocations: 0 / 1.583 GB, free: 3.387 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2523/1.851, allocations: 142.5 MB / 1.722 GB, free: 6.398 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.95/26.8, allocations: 10.91 kB / 1.722 GB, free: 6.391 MB / 1.389 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches