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.004706/0.004706, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.001282/0.001282, allocations: 191.9 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.752/2.752, allocations: 482.4 MB / 0.7548 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 69.28 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2783, allocations: 162.2 MB / 1.241 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1128/0.3911, allocations: 104.1 MB / 1.343 GB, free: 1.043 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.05285/0.444, allocations: 34.88 MB / 1.377 GB, free: 14.07 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00476/0.4488, allocations: 163.1 kB / 1.377 GB, free: 13.91 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00761/0.4564, allocations: 2.887 MB / 1.38 GB, free: 11.01 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01425/0.4707, allocations: 5.496 MB / 1.385 GB, free: 5.496 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0094/0.4801, allocations: 4.032 MB / 1.389 GB, free: 1.48 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.04683/0.527, allocations: 31.64 MB / 1.42 GB, free: 1.797 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006064/0.5331, allocations: 3.687 MB / 1.424 GB, free: 14.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008891/0.542, allocations: 4.296 MB / 1.428 GB, free: 9.746 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005628/0.5476, allocations: 3.324 MB / 1.431 GB, free: 6.41 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.549, allocations: 464 kB / 1.432 GB, free: 5.957 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006719/0.5557, allocations: 2.937 MB / 1.435 GB, free: 3.016 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002449/0.5582, allocations: 1.881 MB / 1.437 GB, free: 1.129 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004537/0.5627, allocations: 3.047 MB / 1.439 GB, free: 14.06 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.5751, allocations: 9.01 MB / 1.448 GB, free: 5.02 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5751, allocations: 4 kB / 1.448 GB, free: 5.016 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5751, allocations: 0 / 1.448 GB, free: 5.016 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001348/0.5752, allocations: 0 / 1.448 GB, free: 5.016 MB / 1.17 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.01206/0.5873, allocations: 6.595 MB / 1.455 GB, free: 14.3 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5874, allocations: 8.031 kB / 1.455 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003771/0.5878, allocations: 295.8 kB / 1.455 GB, free: 13.99 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.599, allocations: 1.928 MB / 1.457 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03468/0.6337, allocations: 18.06 MB / 1.475 GB, free: 9.922 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.6339, allocations: 180.2 kB / 1.475 GB, free: 9.742 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.6344, allocations: 244 kB / 1.475 GB, free: 9.504 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006469/0.6409, allocations: 3.219 MB / 1.478 GB, free: 6.145 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.6409, allocations: 11.94 kB / 1.478 GB, free: 6.133 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.6412, allocations: 91.98 kB / 1.478 GB, free: 6.043 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/0.6412, allocations: 52 kB / 1.478 GB, free: 5.992 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006857/0.6481, allocations: 2.596 MB / 1.481 GB, free: 3.379 MB / 1.201 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.02195/0.6701, allocations: 15.41 MB / 1.496 GB, free: 2.938 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006049/0.6761, allocations: 2.276 MB / 1.498 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.6789, allocations: 0.9922 MB / 1.499 GB, free: 15.64 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008737/0.6877, allocations: 4.992 MB / 1.504 GB, free: 10.36 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.6877, allocations: 47.56 kB / 1.504 GB, free: 10.31 MB / 1.232 GB Notification: Performance of pre-optimization done (n=112): time 2.986e-06/0.6878, allocations: 0 / 1.504 GB, free: 10.31 MB / 1.232 GB Notification: Performance of matching and sorting (n=112): time 0.01228/0.7, allocations: 3.987 MB / 1.508 GB, free: 6.227 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.7001, allocations: 68.34 kB / 1.508 GB, free: 6.148 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009396/0.7095, allocations: 5.533 MB / 1.513 GB, free: 0.6094 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004372/0.71, allocations: 57.7 kB / 1.513 GB, free: 0.5469 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/0.7124, allocations: 2.277 MB / 1.516 GB, free: 14.25 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/0.7131, allocations: 424.5 kB / 1.516 GB, free: 13.84 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/0.7149, allocations: 0.8764 MB / 1.517 GB, free: 12.95 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7151, allocations: 305.1 kB / 1.517 GB, free: 12.65 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/0.72, allocations: 2.621 MB / 1.52 GB, free: 10.02 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005734/0.7257, allocations: 3.463 MB / 1.523 GB, free: 6.242 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009884/0.7356, allocations: 5.579 MB / 1.529 GB, free: 416 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.7357, allocations: 7.938 kB / 1.529 GB, free: 408 kB / 1.248 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01369/0.7494, allocations: 7.088 MB / 1.535 GB, free: 9.266 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.7494, allocations: 12 kB / 1.535 GB, free: 9.254 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.7495, allocations: 20.12 kB / 1.535 GB, free: 9.234 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.7513, allocations: 0.7176 MB / 1.536 GB, free: 8.504 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.7543, allocations: 0.667 MB / 1.537 GB, free: 7.836 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.757, allocations: 2.725 MB / 1.539 GB, free: 5.008 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/0.761, allocations: 462.8 kB / 1.54 GB, free: 4.555 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004955/0.7615, allocations: 207.9 kB / 1.54 GB, free: 4.352 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00619/0.7677, allocations: 3.247 MB / 1.543 GB, free: 1.098 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.5086/1.276, allocations: 3.018 MB / 1.546 GB, free: 285.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008295/1.285, allocations: 4.724 MB / 1.551 GB, free: 284.4 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.506e-05/1.285, allocations: 5.281 kB / 1.551 GB, free: 284.4 MB / 1.264 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01142/1.296, allocations: 6.268 MB / 1.557 GB, free: 282.3 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.296, allocations: 12.97 kB / 1.557 GB, free: 282.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/1.296, allocations: 17.78 kB / 1.557 GB, free: 282.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/1.299, allocations: 0.8028 MB / 1.558 GB, free: 282.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/1.301, allocations: 0.6351 MB / 1.558 GB, free: 282 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.317, allocations: 13.71 MB / 1.572 GB, free: 272.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004255/1.321, allocations: 363.5 kB / 1.572 GB, free: 272.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006126/1.322, allocations: 175.3 kB / 1.572 GB, free: 272.8 MB / 1.264 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.0007956/1.323, allocations: 336.6 kB / 1.573 GB, free: 272.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.324, allocations: 0.5054 MB / 1.573 GB, free: 272.3 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008594/1.333, allocations: 3.324 MB / 1.576 GB, free: 271.3 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.333, allocations: 17.67 kB / 1.576 GB, free: 271.3 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.333, allocations: 0 / 1.576 GB, free: 271.3 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/1.333, allocations: 7.219 kB / 1.576 GB, free: 271.3 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/1.346, allocations: 6.172 MB / 1.582 GB, free: 268.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/1.346, allocations: 7.781 kB / 1.582 GB, free: 268.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/1.347, allocations: 309.6 kB / 1.583 GB, free: 268.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008812/1.348, allocations: 382.4 kB / 1.583 GB, free: 268.7 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/1.348, allocations: 53.67 kB / 1.583 GB, free: 268.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/1.35, allocations: 2.612 MB / 1.586 GB, free: 266.4 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.35, allocations: 0 / 1.586 GB, free: 266.4 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006856/1.356, allocations: 3.094 MB / 1.589 GB, free: 265.1 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.358, allocations: 0.8146 MB / 1.59 GB, free: 264.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.359, allocations: 34.44 kB / 1.59 GB, free: 264.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.362, allocations: 145.5 kB / 1.59 GB, free: 264.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.362, allocations: 88.77 kB / 1.59 GB, free: 264.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.362, allocations: 89.27 kB / 1.59 GB, free: 264.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.006156/1.368, allocations: 3.656 MB / 1.593 GB, free: 263.2 MB / 1.264 GB Notification: Performance of sort global known variables: time 6.72e-07/1.368, allocations: 0 / 1.593 GB, free: 263.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006563/1.375, allocations: 2.34 MB / 1.596 GB, free: 263 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.008118/1.383, allocations: 4.239 MB / 1.6 GB, free: 260 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.396, allocations: 7.864 MB / 1.608 GB, free: 252.5 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.396, allocations: 0 / 1.608 GB, free: 252.5 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.399, allocations: 1.168 MB / 1.609 GB, free: 251.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00942/1.409, allocations: 2.424 MB / 1.611 GB, free: 249.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06616/1.475, allocations: 43.28 MB / 1.653 GB, free: 205.2 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.477, allocations: 2.864 MB / 1.656 GB, free: 202.3 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.005009/1.482, allocations: 1.342 MB / 1.657 GB, free: 201 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/1.485, allocations: 2.217 MB / 1.66 GB, free: 198.8 MB / 1.264 GB Notification: Performance of SimCode: time 7.51e-07/1.485, allocations: 0 / 1.66 GB, free: 198.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1853/1.67, allocations: 141.6 MB / 1.798 GB, free: 58.73 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.46/26.13, allocations: 5.188 kB / 1.798 GB, free: 58.73 MB / 1.264 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 400 --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