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.006072/0.006072, allocations: 99.66 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.001388/0.001388, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.406/2.406, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 62.62 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2764, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1108/0.3873, allocations: 102.6 MB / 1.188 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.06452/0.4519, allocations: 32.44 MB / 1.219 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006667/0.4586, allocations: 155.1 kB / 1.22 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00751/0.4661, allocations: 1.973 MB / 1.221 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01637/0.4826, allocations: 4.93 MB / 1.226 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009877/0.4925, allocations: 3.829 MB / 1.23 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01351/0.506, allocations: 9.403 MB / 1.239 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006909/0.5129, allocations: 3.515 MB / 1.243 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01243/0.5254, allocations: 3.944 MB / 1.246 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00838/0.5338, allocations: 2.976 MB / 1.249 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001993/0.5358, allocations: 396 kB / 1.25 GB, free: 11.26 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009765/0.5456, allocations: 2.562 MB / 1.252 GB, free: 8.691 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.5477, allocations: 1.242 MB / 1.253 GB, free: 7.445 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004313/0.552, allocations: 2.254 MB / 1.256 GB, free: 5.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.6237/1.176, allocations: 6.92 MB / 1.262 GB, free: 28.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.176, allocations: 0.75 kB / 1.262 GB, free: 28.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/1.176, allocations: 0 / 1.262 GB, free: 28.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002071/1.176, allocations: 1.062 kB / 1.262 GB, free: 28.32 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.01259/1.189, allocations: 4.801 MB / 1.267 GB, free: 26.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.189, allocations: 9.969 kB / 1.267 GB, free: 26.42 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000712/1.189, allocations: 291.2 kB / 1.267 GB, free: 26.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/1.199, allocations: 1.499 MB / 1.269 GB, free: 26.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/1.213, allocations: 4.062 MB / 1.273 GB, free: 25.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/1.213, allocations: 176.3 kB / 1.273 GB, free: 25.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/1.214, allocations: 228.9 kB / 1.273 GB, free: 25.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008227/1.223, allocations: 2.709 MB / 1.276 GB, free: 24.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/1.223, allocations: 6.672 kB / 1.276 GB, free: 24.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003605/1.223, allocations: 84.72 kB / 1.276 GB, free: 24.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-05/1.223, allocations: 51.84 kB / 1.276 GB, free: 24.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006727/1.23, allocations: 2.091 MB / 1.278 GB, free: 24.85 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.02093/1.251, allocations: 12.54 MB / 1.29 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/1.255, allocations: 1.595 MB / 1.292 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.258, allocations: 0.7531 MB / 1.293 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007138/1.265, allocations: 3.726 MB / 1.296 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.265, allocations: 44.75 kB / 1.296 GB, free: 16.56 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/1.265, allocations: 0 / 1.296 GB, free: 16.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.01044/1.275, allocations: 3.08 MB / 1.299 GB, free: 15.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/1.275, allocations: 62.09 kB / 1.299 GB, free: 15.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005445/1.281, allocations: 3.259 MB / 1.303 GB, free: 15.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005747/1.281, allocations: 58.08 kB / 1.303 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.283, allocations: 1.727 MB / 1.304 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/1.283, allocations: 362.5 kB / 1.305 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007436/1.284, allocations: 441.9 kB / 1.305 GB, free: 14.76 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/1.284, allocations: 303.9 kB / 1.305 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/1.287, allocations: 1.078 MB / 1.306 GB, free: 14.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/1.29, allocations: 1.725 MB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005753/1.295, allocations: 2.681 MB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.072e-05/1.295, allocations: 4.938 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.009691/1.305, allocations: 3.418 MB / 1.314 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.305, allocations: 12.56 kB / 1.314 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/1.305, allocations: 20.5 kB / 1.314 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/1.307, allocations: 0.5471 MB / 1.315 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/1.309, allocations: 451.8 kB / 1.315 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/1.311, allocations: 2.587 MB / 1.318 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/1.314, allocations: 274.6 kB / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005213/1.314, allocations: 142 kB / 1.318 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003796/1.318, allocations: 1.538 MB / 1.319 GB, free: 10.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002406/1.321, allocations: 1.561 MB / 1.321 GB, free: 9.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004382/1.325, allocations: 2.363 MB / 1.323 GB, free: 8.832 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-05/1.325, allocations: 8.297 kB / 1.323 GB, free: 8.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.008303/1.333, allocations: 3.122 MB / 1.326 GB, free: 8.539 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/1.334, allocations: 15.44 kB / 1.326 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/1.334, allocations: 20.72 kB / 1.326 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/1.336, allocations: 0.6588 MB / 1.327 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/1.338, allocations: 420.4 kB / 1.327 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/1.353, allocations: 11.86 MB / 1.339 GB, free: 17.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/1.356, allocations: 207.9 kB / 1.339 GB, free: 17.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006406/1.357, allocations: 118.5 kB / 1.339 GB, free: 17.73 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.001093/1.358, allocations: 290.4 kB / 1.34 GB, free: 17.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.359, allocations: 346 kB / 1.34 GB, free: 17.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/1.367, allocations: 2.642 MB / 1.342 GB, free: 17.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/1.367, allocations: 16 kB / 1.342 GB, free: 17.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.367, allocations: 0 / 1.342 GB, free: 17.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/1.367, allocations: 10.83 kB / 1.343 GB, free: 17.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.379, allocations: 4.772 MB / 1.347 GB, free: 16.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.379, allocations: 0 / 1.347 GB, free: 16.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.381, allocations: 271.5 kB / 1.347 GB, free: 16.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00093/1.382, allocations: 330.2 kB / 1.348 GB, free: 16.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.382, allocations: 44.28 kB / 1.348 GB, free: 16.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/1.384, allocations: 2.5 MB / 1.35 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.384, allocations: 6.75 kB / 1.35 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006578/1.391, allocations: 2.408 MB / 1.353 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/1.393, allocations: 0.5843 MB / 1.353 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.394, allocations: 21.47 kB / 1.353 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.396, allocations: 123.5 kB / 1.353 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.396, allocations: 80.83 kB / 1.353 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/1.397, allocations: 68.75 kB / 1.353 GB, free: 12.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00398/1.401, allocations: 2.179 MB / 1.356 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.401, allocations: 0 / 1.356 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00673/1.407, allocations: 1.725 MB / 1.357 GB, free: 11.43 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.008054/1.415, allocations: 3.392 MB / 1.361 GB, free: 9.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.426, allocations: 4.246 MB / 1.365 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.426, allocations: 0 / 1.365 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/1.429, allocations: 0.9322 MB / 1.366 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008379/1.437, allocations: 1.645 MB / 1.367 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06491/1.502, allocations: 26.27 MB / 1.393 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/1.505, allocations: 2.16 MB / 1.395 GB, free: 11.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004404/1.509, allocations: 0.8229 MB / 1.396 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/1.512, allocations: 1.542 MB / 1.397 GB, free: 9.262 MB / 1.061 GB Notification: Performance of SimCode: time 9.42e-07/1.512, allocations: 4 kB / 1.397 GB, free: 9.258 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/1.687, allocations: 99.56 MB / 1.495 GB, free: 7.277 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.41/21.1, allocations: 7.938 kB / 1.495 GB, free: 7.27 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