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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.004744/0.004744, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001153/0.001153, allocations: 186.2 kB / 16.67 MB, free: 5.926 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.7 MB / 0.7453 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.91 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3206, allocations: 159.9 MB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.8293/1.15, allocations: 104.1 MB / 1.327 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.06561/1.216, allocations: 34.95 MB / 1.361 GB, free: 2.727 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01125/1.227, allocations: 161.2 kB / 1.361 GB, free: 2.672 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01203/1.239, allocations: 2.924 MB / 1.364 GB, free: 1.156 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.02275/1.262, allocations: 5.69 MB / 1.37 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01375/1.276, allocations: 4.053 MB / 1.374 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.05482/1.33, allocations: 31.57 MB / 1.404 GB, free: 7.359 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009047/1.339, allocations: 3.668 MB / 1.408 GB, free: 3.621 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01375/1.353, allocations: 4.38 MB / 1.412 GB, free: 15.24 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007454/1.361, allocations: 3.37 MB / 1.416 GB, free: 11.86 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002311/1.363, allocations: 460 kB / 1.416 GB, free: 11.41 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.373, allocations: 2.941 MB / 1.419 GB, free: 8.461 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003353/1.377, allocations: 1.881 MB / 1.421 GB, free: 6.574 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007553/1.384, allocations: 3.043 MB / 1.424 GB, free: 3.516 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/1.405, allocations: 9.002 MB / 1.432 GB, free: 10.48 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.405, allocations: 4 kB / 1.432 GB, free: 10.48 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.018e-06/1.405, allocations: 0 / 1.432 GB, free: 10.48 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003374/1.405, allocations: 3.938 kB / 1.432 GB, free: 10.47 MB / 1.123 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.02129/1.427, allocations: 6.615 MB / 1.439 GB, free: 3.738 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.958e-05/1.427, allocations: 12.03 kB / 1.439 GB, free: 3.727 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00147/1.428, allocations: 295.7 kB / 1.439 GB, free: 3.426 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/1.44, allocations: 1.936 MB / 1.441 GB, free: 1.484 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03664/1.477, allocations: 18.04 MB / 1.459 GB, free: 15.36 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/1.477, allocations: 188.2 kB / 1.459 GB, free: 15.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/1.478, allocations: 244 kB / 1.459 GB, free: 14.94 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009583/1.488, allocations: 3.223 MB / 1.462 GB, free: 11.57 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-05/1.488, allocations: 3.938 kB / 1.462 GB, free: 11.57 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007531/1.489, allocations: 88 kB / 1.462 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/1.489, allocations: 52 kB / 1.462 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008737/1.498, allocations: 2.6 MB / 1.465 GB, free: 8.812 MB / 1.154 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.02952/1.527, allocations: 14.91 MB / 1.479 GB, free: 9 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006665/1.534, allocations: 2.27 MB / 1.482 GB, free: 6.727 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/1.537, allocations: 0.9901 MB / 1.483 GB, free: 5.73 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/1.548, allocations: 5.011 MB / 1.488 GB, free: 440 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/1.548, allocations: 43.56 kB / 1.488 GB, free: 388 kB / 1.17 GB Notification: Performance of pre-optimization done (n=112): time 4.198e-06/1.548, allocations: 0 / 1.488 GB, free: 388 kB / 1.17 GB Notification: Performance of matching and sorting (n=112): time 0.01334/1.561, allocations: 3.991 MB / 1.491 GB, free: 12.29 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.561, allocations: 68.34 kB / 1.492 GB, free: 12.21 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01341/1.575, allocations: 5.567 MB / 1.497 GB, free: 6.641 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0006602/1.576, allocations: 61.7 kB / 1.497 GB, free: 6.574 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.003115/1.579, allocations: 2.285 MB / 1.499 GB, free: 4.273 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/1.58, allocations: 436.4 kB / 1.5 GB, free: 3.844 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002883/1.582, allocations: 0.8803 MB / 1.501 GB, free: 2.957 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/1.583, allocations: 305.1 kB / 1.501 GB, free: 2.656 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005067/1.588, allocations: 2.621 MB / 1.503 GB, free: 28 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006054/1.594, allocations: 3.463 MB / 1.507 GB, free: 12.25 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.604, allocations: 5.583 MB / 1.512 GB, free: 6.406 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-05/1.604, allocations: 7.938 kB / 1.512 GB, free: 6.398 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01661/1.621, allocations: 7.084 MB / 1.519 GB, free: 15.27 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/1.621, allocations: 19.94 kB / 1.519 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/1.621, allocations: 16 kB / 1.519 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.623, allocations: 0.7181 MB / 1.52 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/1.627, allocations: 0.667 MB / 1.521 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/1.629, allocations: 2.729 MB / 1.523 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005124/1.634, allocations: 457.3 kB / 1.524 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009513/1.635, allocations: 211.9 kB / 1.524 GB, free: 10.35 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007962/1.643, allocations: 3.247 MB / 1.527 GB, free: 7.094 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005975/1.649, allocations: 3.027 MB / 1.53 GB, free: 3.75 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009527/1.659, allocations: 4.725 MB / 1.535 GB, free: 14.77 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.213e-05/1.659, allocations: 7.984 kB / 1.535 GB, free: 14.77 MB / 1.232 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01474/1.674, allocations: 6.263 MB / 1.541 GB, free: 8.461 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.487e-05/1.674, allocations: 17.55 kB / 1.541 GB, free: 8.445 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/1.674, allocations: 16 kB / 1.541 GB, free: 8.43 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/1.677, allocations: 0.8078 MB / 1.542 GB, free: 7.609 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/1.68, allocations: 0.6319 MB / 1.542 GB, free: 6.977 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/1.698, allocations: 13.64 MB / 1.555 GB, free: 8.668 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004782/1.703, allocations: 360 kB / 1.556 GB, free: 8.316 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008147/1.704, allocations: 179.9 kB / 1.556 GB, free: 8.141 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.001211/1.705, allocations: 324.5 kB / 1.556 GB, free: 7.816 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/1.707, allocations: 0.5043 MB / 1.557 GB, free: 7.309 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.717, allocations: 3.334 MB / 1.56 GB, free: 3.949 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/1.717, allocations: 12 kB / 1.56 GB, free: 3.938 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.717, allocations: 0 / 1.56 GB, free: 3.938 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/1.717, allocations: 7.969 kB / 1.56 GB, free: 3.93 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/1.735, allocations: 6.211 MB / 1.566 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.735, allocations: 0 / 1.566 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/1.737, allocations: 307.6 kB / 1.566 GB, free: 13.34 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/1.738, allocations: 371 kB / 1.567 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003454/1.739, allocations: 63.81 kB / 1.567 GB, free: 12.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/1.741, allocations: 2.616 MB / 1.569 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.741, allocations: 4.062 kB / 1.569 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009402/1.75, allocations: 3.091 MB / 1.572 GB, free: 7.043 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/1.753, allocations: 0.8172 MB / 1.573 GB, free: 6.203 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/1.755, allocations: 23.94 kB / 1.573 GB, free: 6.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003586/1.758, allocations: 155.8 kB / 1.573 GB, free: 6.027 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/1.759, allocations: 93.12 kB / 1.573 GB, free: 5.938 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004034/1.759, allocations: 87.92 kB / 1.574 GB, free: 5.852 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.008594/1.768, allocations: 3.678 MB / 1.577 GB, free: 2.18 MB / 1.264 GB Notification: Performance of sort global known variables: time 9.82e-07/1.768, allocations: 0 / 1.577 GB, free: 2.18 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0101/1.778, allocations: 2.34 MB / 1.579 GB, free: 15.83 MB / 1.279 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.01135/1.789, allocations: 4.231 MB / 1.584 GB, free: 11.56 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01811/1.808, allocations: 7.917 MB / 1.591 GB, free: 3.594 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.808, allocations: 4 kB / 1.591 GB, free: 3.59 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/1.811, allocations: 1.172 MB / 1.592 GB, free: 2.418 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01538/1.827, allocations: 2.43 MB / 1.595 GB, free: 68 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1022/1.929, allocations: 43.26 MB / 1.637 GB, free: 3.914 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00449/1.933, allocations: 2.88 MB / 1.64 GB, free: 1 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.006878/1.94, allocations: 1.335 MB / 1.641 GB, free: 15.66 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004313/1.945, allocations: 2.233 MB / 1.643 GB, free: 13.42 MB / 1.342 GB Notification: Performance of SimCode: time 1.182e-06/1.945, allocations: 3.938 kB / 1.643 GB, free: 13.42 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2387/2.183, allocations: 142.5 MB / 1.783 GB, free: 304 kB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.53/28.72, allocations: 10.39 kB / 1.783 GB, free: 296 kB / 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