Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_9_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.004954/0.004954, allocations: 97.25 kB / 15.73 MB, free: 6.035 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.001139/0.001139, allocations: 204.4 kB / 16.68 MB, free: 5.961 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 62.27 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.292, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1164/0.4084, allocations: 102.6 MB / 1.188 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04963/0.4581, allocations: 32.45 MB / 1.219 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006158/0.4643, allocations: 155.1 kB / 1.22 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006273/0.4707, allocations: 2.007 MB / 1.221 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01533/0.4861, allocations: 5.146 MB / 1.227 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.4969, allocations: 3.828 MB / 1.23 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01485/0.5118, allocations: 9.413 MB / 1.239 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008075/0.5199, allocations: 3.507 MB / 1.243 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.5305, allocations: 4.075 MB / 1.247 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005732/0.5363, allocations: 2.98 MB / 1.25 GB, free: 11.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.538, allocations: 396 kB / 1.25 GB, free: 10.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006966/0.545, allocations: 2.558 MB / 1.253 GB, free: 8.297 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.5473, allocations: 1.246 MB / 1.254 GB, free: 7.047 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005019/0.5524, allocations: 2.258 MB / 1.256 GB, free: 4.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.6623/1.215, allocations: 6.94 MB / 1.263 GB, free: 28.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.215, allocations: 0.8125 kB / 1.263 GB, free: 28.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/1.215, allocations: 0 / 1.263 GB, free: 28.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001611/1.215, allocations: 0 / 1.263 GB, free: 28.29 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.009273/1.224, allocations: 4.948 MB / 1.268 GB, free: 25.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.224, allocations: 9.625 kB / 1.268 GB, free: 25.99 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003934/1.225, allocations: 288 kB / 1.268 GB, free: 25.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009252/1.234, allocations: 1.522 MB / 1.269 GB, free: 25.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/1.245, allocations: 4.102 MB / 1.273 GB, free: 24.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/1.245, allocations: 176.1 kB / 1.274 GB, free: 24.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008665/1.246, allocations: 231 kB / 1.274 GB, free: 24.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008215/1.254, allocations: 2.71 MB / 1.276 GB, free: 24.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-05/1.254, allocations: 4.75 kB / 1.276 GB, free: 24.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004307/1.255, allocations: 84.44 kB / 1.277 GB, free: 24.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/1.255, allocations: 51.03 kB / 1.277 GB, free: 24.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007085/1.262, allocations: 2.093 MB / 1.279 GB, free: 24.36 MB / 1.014 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.02179/1.284, allocations: 12.57 MB / 1.291 GB, free: 17.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004593/1.288, allocations: 1.596 MB / 1.292 GB, free: 17.81 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/1.29, allocations: 0.7536 MB / 1.293 GB, free: 17.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008023/1.298, allocations: 3.717 MB / 1.297 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.298, allocations: 50.06 kB / 1.297 GB, free: 16.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 4.398e-06/1.299, allocations: 0 / 1.297 GB, free: 16.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.01092/1.309, allocations: 3.096 MB / 1.3 GB, free: 15.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.31, allocations: 62.78 kB / 1.3 GB, free: 15.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007415/1.317, allocations: 3.267 MB / 1.303 GB, free: 14.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004953/1.317, allocations: 60.48 kB / 1.303 GB, free: 14.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.319, allocations: 1.746 MB / 1.305 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006038/1.32, allocations: 376.6 kB / 1.305 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/1.321, allocations: 437.4 kB / 1.306 GB, free: 14.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.218e-05/1.321, allocations: 304.7 kB / 1.306 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.324, allocations: 1.08 MB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/1.328, allocations: 1.723 MB / 1.309 GB, free: 13.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005825/1.334, allocations: 2.679 MB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.893e-05/1.334, allocations: 8.031 kB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.008856/1.342, allocations: 3.436 MB / 1.315 GB, free: 12.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/1.342, allocations: 15.72 kB / 1.315 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/1.343, allocations: 22.08 kB / 1.315 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/1.344, allocations: 0.5502 MB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/1.346, allocations: 444.5 kB / 1.316 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/1.348, allocations: 2.59 MB / 1.318 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.351, allocations: 290.2 kB / 1.319 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/1.352, allocations: 133.9 kB / 1.319 GB, free: 9.805 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003969/1.356, allocations: 1.544 MB / 1.32 GB, free: 9.711 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002733/1.359, allocations: 1.56 MB / 1.322 GB, free: 8.918 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004503/1.363, allocations: 2.36 MB / 1.324 GB, free: 8.238 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-05/1.363, allocations: 5.125 kB / 1.324 GB, free: 8.238 MB / 1.014 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.008078/1.371, allocations: 3.144 MB / 1.327 GB, free: 7.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.371, allocations: 9.781 kB / 1.327 GB, free: 7.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/1.371, allocations: 21.81 kB / 1.327 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/1.374, allocations: 0.6582 MB / 1.328 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.375, allocations: 417.1 kB / 1.328 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/1.39, allocations: 11.86 MB / 1.34 GB, free: 17.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/1.393, allocations: 213.8 kB / 1.34 GB, free: 17.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005621/1.394, allocations: 117.3 kB / 1.34 GB, free: 17.12 MB / 1.029 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 (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.001037/1.395, allocations: 291.7 kB / 1.34 GB, free: 16.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/1.396, allocations: 361.8 kB / 1.341 GB, free: 16.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007307/1.403, allocations: 2.655 MB / 1.343 GB, free: 16.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/1.404, allocations: 11.03 kB / 1.343 GB, free: 16.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.404, allocations: 6.359 kB / 1.343 GB, free: 16.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/1.404, allocations: 7.266 kB / 1.343 GB, free: 16.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.416, allocations: 4.781 MB / 1.348 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.416, allocations: 3.219 kB / 1.348 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.418, allocations: 265.1 kB / 1.348 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009355/1.419, allocations: 337.5 kB / 1.349 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/1.419, allocations: 48.31 kB / 1.349 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/1.421, allocations: 2.503 MB / 1.351 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.421, allocations: 3.656 kB / 1.351 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/1.427, allocations: 2.416 MB / 1.353 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/1.429, allocations: 0.6017 MB / 1.354 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.43, allocations: 22.45 kB / 1.354 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/1.433, allocations: 116.2 kB / 1.354 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.433, allocations: 79.31 kB / 1.354 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/1.433, allocations: 63.69 kB / 1.354 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004534/1.437, allocations: 2.185 MB / 1.356 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.437, allocations: 3.938 kB / 1.356 GB, free: 11.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.007695/1.445, allocations: 1.736 MB / 1.358 GB, free: 10.89 MB / 1.029 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 (109): * Single equations (assignments): 96 * 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.454, allocations: 3.412 MB / 1.361 GB, free: 9.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01101/1.465, allocations: 4.261 MB / 1.366 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.465, allocations: 1.812 kB / 1.366 GB, free: 7.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.468, allocations: 0.9348 MB / 1.366 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009125/1.477, allocations: 1.646 MB / 1.368 GB, free: 6.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06237/1.54, allocations: 26.4 MB / 1.394 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/1.542, allocations: 2.165 MB / 1.396 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004245/1.546, allocations: 0.8237 MB / 1.397 GB, free: 9.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002673/1.549, allocations: 1.549 MB / 1.398 GB, free: 8.406 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.549, allocations: 3.938 kB / 1.398 GB, free: 8.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.186/1.735, allocations: 99.56 MB / 1.496 GB, free: 6.434 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.48/22.22, allocations: 2.5 kB / 1.496 GB, free: 6.434 MB / 1.154 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches