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.005269/0.005269, allocations: 100.3 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.001429/0.001429, 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.285/2.285, allocations: 437.1 MB / 0.7106 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 63.89 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6319, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.09854/0.7305, allocations: 104.1 MB / 1.268 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04486/0.7754, allocations: 34.93 MB / 1.302 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00476/0.7802, allocations: 163.1 kB / 1.302 GB, free: 8.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007059/0.7873, allocations: 2.877 MB / 1.305 GB, free: 5.203 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.013/0.8003, allocations: 5.461 MB / 1.31 GB, free: 15.72 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008622/0.8089, allocations: 4.048 MB / 1.314 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04063/0.8495, allocations: 31.53 MB / 1.345 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004837/0.8544, allocations: 3.664 MB / 1.349 GB, free: 8.379 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007326/0.8617, allocations: 4.264 MB / 1.353 GB, free: 4.109 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00404/0.8658, allocations: 3.37 MB / 1.356 GB, free: 0.7266 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0006472/0.8664, allocations: 456 kB / 1.357 GB, free: 288 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005071/0.8715, allocations: 2.929 MB / 1.359 GB, free: 13.35 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.8731, allocations: 1.877 MB / 1.361 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.8758, allocations: 3.043 MB / 1.364 GB, free: 8.406 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009446/0.8853, allocations: 9.002 MB / 1.373 GB, free: 15.37 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.8853, allocations: 4 kB / 1.373 GB, free: 15.37 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8853, allocations: 0 / 1.373 GB, free: 15.37 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.827e-05/0.8854, allocations: 0 / 1.373 GB, free: 15.37 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.009579/0.895, allocations: 6.607 MB / 1.379 GB, free: 8.641 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.895, allocations: 12.92 kB / 1.379 GB, free: 8.629 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003248/0.8953, allocations: 295.7 kB / 1.38 GB, free: 8.328 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009592/0.9049, allocations: 1.932 MB / 1.382 GB, free: 6.391 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02979/0.9347, allocations: 18.04 MB / 1.399 GB, free: 4.266 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.9349, allocations: 184.2 kB / 1.399 GB, free: 4.082 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.9353, allocations: 244 kB / 1.4 GB, free: 3.844 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005688/0.941, allocations: 3.231 MB / 1.403 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.941, allocations: 0 / 1.403 GB, free: 480 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.9413, allocations: 88 kB / 1.403 GB, free: 392 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.9413, allocations: 52 kB / 1.403 GB, free: 340 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006051/0.9474, allocations: 2.6 MB / 1.405 GB, free: 13.71 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.01835/0.9657, allocations: 14.91 MB / 1.42 GB, free: 13.9 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/0.9711, allocations: 2.274 MB / 1.422 GB, free: 11.62 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.9734, allocations: 0.9925 MB / 1.423 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006714/0.9802, allocations: 5.007 MB / 1.428 GB, free: 5.332 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.9802, allocations: 43.56 kB / 1.428 GB, free: 5.281 MB / 1.154 GB Notification: Performance of pre-optimization done (n=112): time 2.184e-06/0.9802, allocations: 3.938 kB / 1.428 GB, free: 5.277 MB / 1.154 GB Notification: Performance of matching and sorting (n=112): time 0.01031/0.9905, allocations: 3.979 MB / 1.432 GB, free: 1.199 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.9906, allocations: 72.34 kB / 1.432 GB, free: 1.117 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006919/0.9975, allocations: 5.563 MB / 1.438 GB, free: 11.55 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.9977, allocations: 61.7 kB / 1.438 GB, free: 11.48 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.9997, allocations: 2.293 MB / 1.44 GB, free: 9.176 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/1, allocations: 436.4 kB / 1.44 GB, free: 8.746 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/1.001, allocations: 0.8725 MB / 1.441 GB, free: 7.867 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.001, allocations: 305.1 kB / 1.441 GB, free: 7.566 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/1.006, allocations: 2.621 MB / 1.444 GB, free: 4.938 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/1.011, allocations: 3.463 MB / 1.447 GB, free: 1.156 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00847/1.019, allocations: 5.59 MB / 1.453 GB, free: 11.3 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.019, allocations: 8 kB / 1.453 GB, free: 11.3 MB / 1.186 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01161/1.031, allocations: 7.088 MB / 1.46 GB, free: 4.164 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/1.031, allocations: 15.94 kB / 1.46 GB, free: 4.148 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/1.031, allocations: 20 kB / 1.46 GB, free: 4.129 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/1.032, allocations: 0.7103 MB / 1.46 GB, free: 3.406 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/1.035, allocations: 0.6708 MB / 1.461 GB, free: 2.734 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.037, allocations: 2.725 MB / 1.464 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/1.04, allocations: 458.7 kB / 1.464 GB, free: 15.46 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003239/1.041, allocations: 215.8 kB / 1.464 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005209/1.046, allocations: 3.243 MB / 1.468 GB, free: 12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004216/1.05, allocations: 3.026 MB / 1.471 GB, free: 8.652 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007092/1.057, allocations: 4.728 MB / 1.475 GB, free: 3.668 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.064e-05/1.057, allocations: 8 kB / 1.475 GB, free: 3.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01086/1.068, allocations: 6.267 MB / 1.481 GB, free: 13.35 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.068, allocations: 12 kB / 1.481 GB, free: 13.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.068, allocations: 16 kB / 1.481 GB, free: 13.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/1.07, allocations: 0.804 MB / 1.482 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/1.073, allocations: 0.6318 MB / 1.483 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.09, allocations: 13.64 MB / 1.496 GB, free: 13.57 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/1.093, allocations: 362.8 kB / 1.496 GB, free: 13.21 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/1.093, allocations: 175.9 kB / 1.497 GB, free: 13.04 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.0006061/1.094, allocations: 333.7 kB / 1.497 GB, free: 12.71 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/1.095, allocations: 0.5043 MB / 1.497 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/1.102, allocations: 3.33 MB / 1.501 GB, free: 8.848 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/1.102, allocations: 19.98 kB / 1.501 GB, free: 8.828 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/1.102, allocations: 0 / 1.501 GB, free: 8.828 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.102, allocations: 3.984 kB / 1.501 GB, free: 8.824 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/1.113, allocations: 6.203 MB / 1.507 GB, free: 2.539 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/1.113, allocations: 4 kB / 1.507 GB, free: 2.535 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.115, allocations: 303.7 kB / 1.507 GB, free: 2.238 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008986/1.116, allocations: 370.9 kB / 1.507 GB, free: 1.863 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.116, allocations: 59.88 kB / 1.507 GB, free: 1.805 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/1.117, allocations: 2.627 MB / 1.51 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.117, allocations: 4.062 kB / 1.51 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006647/1.124, allocations: 3.087 MB / 1.513 GB, free: 11.94 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.125, allocations: 0.8172 MB / 1.514 GB, free: 11.1 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/1.126, allocations: 27.92 kB / 1.514 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/1.128, allocations: 151.8 kB / 1.514 GB, free: 10.93 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.128, allocations: 93.11 kB / 1.514 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.128, allocations: 87.94 kB / 1.514 GB, free: 10.75 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004888/1.133, allocations: 3.681 MB / 1.518 GB, free: 7.074 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.1e-07/1.133, allocations: 0 / 1.518 GB, free: 7.074 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004699/1.138, allocations: 2.336 MB / 1.52 GB, free: 4.734 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.00777/1.146, allocations: 4.23 MB / 1.524 GB, free: 472 kB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.159, allocations: 7.921 MB / 1.532 GB, free: 8.492 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.159, allocations: 0 / 1.532 GB, free: 8.492 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.162, allocations: 1.172 MB / 1.533 GB, free: 7.32 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007787/1.17, allocations: 2.423 MB / 1.535 GB, free: 4.961 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4919/1.662, allocations: 43.28 MB / 1.578 GB, free: 361.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/1.663, allocations: 2.871 MB / 1.58 GB, free: 360.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003712/1.667, allocations: 1.332 MB / 1.582 GB, free: 360 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/1.669, allocations: 2.231 MB / 1.584 GB, free: 358.2 MB / 1.279 GB Notification: Performance of SimCode: time 9.32e-07/1.669, allocations: 0 / 1.584 GB, free: 358.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.456/5.125, allocations: 142.5 MB / 1.723 GB, free: 222.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.51/35.63, allocations: 8.062 kB / 1.723 GB, free: 222.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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