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.006657/0.006657, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.00152/0.00152, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.491/2.491, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9397/0.941, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1015/1.043, allocations: 104.1 MB / 1.268 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04984/1.092, allocations: 34.94 MB / 1.302 GB, free: 8.301 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00699/1.099, allocations: 159.1 kB / 1.302 GB, free: 8.145 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009237/1.109, allocations: 2.923 MB / 1.305 GB, free: 5.211 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/1.124, allocations: 5.681 MB / 1.311 GB, free: 15.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01012/1.134, allocations: 4.052 MB / 1.314 GB, free: 11.47 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0434/1.178, allocations: 31.55 MB / 1.345 GB, free: 11.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007015/1.185, allocations: 3.668 MB / 1.349 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/1.195, allocations: 4.372 MB / 1.353 GB, free: 3.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00733/1.203, allocations: 3.37 MB / 1.356 GB, free: 396 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00199/1.205, allocations: 460 kB / 1.357 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00817/1.213, allocations: 2.94 MB / 1.36 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002971/1.216, allocations: 1.869 MB / 1.362 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006276/1.222, allocations: 3.043 MB / 1.365 GB, free: 8.059 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.241, allocations: 9.006 MB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.241, allocations: 0 / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.914e-06/1.241, allocations: 4 kB / 1.373 GB, free: 15.02 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003225/1.241, allocations: 0 / 1.373 GB, free: 15.02 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.0175/1.259, allocations: 6.607 MB / 1.38 GB, free: 8.289 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.259, allocations: 8.922 kB / 1.38 GB, free: 8.281 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008234/1.26, allocations: 303.7 kB / 1.38 GB, free: 7.973 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/1.271, allocations: 1.932 MB / 1.382 GB, free: 6.035 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03794/1.309, allocations: 18.03 MB / 1.4 GB, free: 3.922 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/1.309, allocations: 188.2 kB / 1.4 GB, free: 3.734 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/1.31, allocations: 244 kB / 1.4 GB, free: 3.496 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009491/1.32, allocations: 3.223 MB / 1.403 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.957e-05/1.32, allocations: 7.938 kB / 1.403 GB, free: 124 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006115/1.321, allocations: 88 kB / 1.403 GB, free: 36 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/1.321, allocations: 52.05 kB / 1.403 GB, free: 15.98 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/1.328, allocations: 2.592 MB / 1.406 GB, free: 13.38 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.02949/1.358, allocations: 14.92 MB / 1.42 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006798/1.365, allocations: 2.27 MB / 1.423 GB, free: 11.27 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/1.368, allocations: 0.9975 MB / 1.424 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/1.378, allocations: 5.003 MB / 1.428 GB, free: 4.984 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/1.378, allocations: 51.5 kB / 1.429 GB, free: 4.926 MB / 1.154 GB Notification: Performance of pre-optimization done (n=112): time 4.238e-06/1.378, allocations: 0 / 1.429 GB, free: 4.926 MB / 1.154 GB Notification: Performance of matching and sorting (n=112): time 0.01241/1.391, allocations: 3.975 MB / 1.432 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.391, allocations: 72.34 kB / 1.432 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/1.402, allocations: 5.563 MB / 1.438 GB, free: 11.2 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006362/1.403, allocations: 65.69 kB / 1.438 GB, free: 11.13 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.003152/1.406, allocations: 2.285 MB / 1.44 GB, free: 8.832 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008789/1.407, allocations: 432.4 kB / 1.441 GB, free: 8.406 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002662/1.409, allocations: 0.8803 MB / 1.441 GB, free: 7.52 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.41, allocations: 305.1 kB / 1.442 GB, free: 7.219 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005001/1.415, allocations: 2.618 MB / 1.444 GB, free: 4.594 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006084/1.421, allocations: 3.467 MB / 1.448 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009985/1.431, allocations: 5.579 MB / 1.453 GB, free: 10.97 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.013e-05/1.431, allocations: 4 kB / 1.453 GB, free: 10.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01585/1.447, allocations: 7.092 MB / 1.46 GB, free: 3.828 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/1.447, allocations: 19.88 kB / 1.46 GB, free: 3.809 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-05/1.447, allocations: 19.98 kB / 1.46 GB, free: 3.789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/1.449, allocations: 0.7181 MB / 1.461 GB, free: 3.059 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.452, allocations: 0.663 MB / 1.461 GB, free: 2.395 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/1.454, allocations: 2.729 MB / 1.464 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/1.459, allocations: 458.6 kB / 1.465 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006742/1.459, allocations: 207.9 kB / 1.465 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006431/1.466, allocations: 3.251 MB / 1.468 GB, free: 11.65 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004952/1.471, allocations: 3.03 MB / 1.471 GB, free: 8.305 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008447/1.479, allocations: 4.725 MB / 1.475 GB, free: 3.324 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.268e-05/1.479, allocations: 4 kB / 1.476 GB, free: 3.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01326/1.493, allocations: 6.268 MB / 1.482 GB, free: 13.01 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.493, allocations: 15.94 kB / 1.482 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.493, allocations: 16 kB / 1.482 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/1.495, allocations: 0.8 MB / 1.482 GB, free: 12.17 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/1.498, allocations: 0.6319 MB / 1.483 GB, free: 11.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/1.516, allocations: 13.65 MB / 1.496 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004318/1.52, allocations: 366.8 kB / 1.497 GB, free: 12.86 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006854/1.521, allocations: 172 kB / 1.497 GB, free: 12.7 MB / 1.232 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.001008/1.522, allocations: 333.9 kB / 1.497 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.523, allocations: 0.5043 MB / 1.498 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009258/1.533, allocations: 3.33 MB / 1.501 GB, free: 8.5 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/1.533, allocations: 19.98 kB / 1.501 GB, free: 8.48 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.533, allocations: 4 kB / 1.501 GB, free: 8.477 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/1.533, allocations: 3.984 kB / 1.501 GB, free: 8.473 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.548, allocations: 6.199 MB / 1.507 GB, free: 2.191 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.515e-06/1.548, allocations: 0 / 1.507 GB, free: 2.191 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.55, allocations: 307.7 kB / 1.507 GB, free: 1.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/1.551, allocations: 374.9 kB / 1.508 GB, free: 1.512 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/1.551, allocations: 55.94 kB / 1.508 GB, free: 1.457 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/1.553, allocations: 2.616 MB / 1.51 GB, free: 14.74 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.553, allocations: 4.281 kB / 1.51 GB, free: 14.73 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008217/1.561, allocations: 3.095 MB / 1.513 GB, free: 11.6 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002584/1.564, allocations: 0.8133 MB / 1.514 GB, free: 10.76 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.565, allocations: 32.06 kB / 1.514 GB, free: 10.73 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.568, allocations: 155.8 kB / 1.514 GB, free: 10.58 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/1.568, allocations: 89.19 kB / 1.514 GB, free: 10.49 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/1.569, allocations: 87.92 kB / 1.514 GB, free: 10.41 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007367/1.576, allocations: 3.678 MB / 1.518 GB, free: 6.734 MB / 1.248 GB Notification: Performance of sort global known variables: time 6.21e-07/1.576, allocations: 0 / 1.518 GB, free: 6.734 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00857/1.585, allocations: 2.336 MB / 1.52 GB, free: 4.395 MB / 1.248 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.01042/1.595, allocations: 4.238 MB / 1.524 GB, free: 120 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01646/1.611, allocations: 7.926 MB / 1.532 GB, free: 8.141 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.611, allocations: 0 / 1.532 GB, free: 8.141 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003306/1.615, allocations: 1.164 MB / 1.533 GB, free: 6.977 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01493/1.63, allocations: 2.435 MB / 1.536 GB, free: 4.605 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7513/2.381, allocations: 43.26 MB / 1.578 GB, free: 361.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/2.384, allocations: 2.87 MB / 1.581 GB, free: 360.2 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005257/2.39, allocations: 1.337 MB / 1.582 GB, free: 360.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003061/2.393, allocations: 2.236 MB / 1.584 GB, free: 358.3 MB / 1.279 GB Notification: Performance of SimCode: time 9.32e-07/2.393, allocations: 0 / 1.584 GB, free: 358.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2054/2.598, allocations: 142.5 MB / 1.723 GB, free: 221.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.66/28.26, allocations: 3.125 kB / 1.723 GB, free: 221.9 MB / 1.279 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