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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009851/0.009851, allocations: 103.1 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.001914/0.001914, allocations: 193.8 kB / 16.67 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.12 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8054, allocations: 157.4 MB / 1.207 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1008/0.9062, allocations: 104.1 MB / 1.309 GB, free: 5.043 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04841/0.9546, allocations: 34.94 MB / 1.343 GB, free: 2.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006274/0.9609, allocations: 163.1 kB / 1.343 GB, free: 1.859 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008575/0.9696, allocations: 2.89 MB / 1.346 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01599/0.9856, allocations: 5.452 MB / 1.351 GB, free: 9.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.996, allocations: 4.06 MB / 1.355 GB, free: 5.441 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.04242/1.038, allocations: 31.53 MB / 1.386 GB, free: 5.859 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006201/1.045, allocations: 3.668 MB / 1.39 GB, free: 2.125 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/1.055, allocations: 4.36 MB / 1.394 GB, free: 13.76 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006151/1.061, allocations: 3.363 MB / 1.397 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/1.063, allocations: 460 kB / 1.398 GB, free: 9.938 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006942/1.07, allocations: 2.94 MB / 1.401 GB, free: 6.992 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002373/1.072, allocations: 1.873 MB / 1.402 GB, free: 5.113 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004861/1.077, allocations: 3.043 MB / 1.405 GB, free: 2.055 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01341/1.09, allocations: 8.964 MB / 1.414 GB, free: 9.062 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.09, allocations: 0 / 1.414 GB, free: 9.062 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.753e-06/1.09, allocations: 0 / 1.414 GB, free: 9.062 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000242/1.091, allocations: 0 / 1.414 GB, free: 9.062 MB / 1.139 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.01538/1.106, allocations: 6.413 MB / 1.42 GB, free: 2.531 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.106, allocations: 8.031 kB / 1.42 GB, free: 2.523 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007457/1.107, allocations: 295.7 kB / 1.421 GB, free: 2.223 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/1.118, allocations: 1.901 MB / 1.423 GB, free: 320 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03387/1.152, allocations: 17.98 MB / 1.44 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/1.153, allocations: 184.2 kB / 1.44 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/1.154, allocations: 244 kB / 1.44 GB, free: 13.83 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009194/1.163, allocations: 3.22 MB / 1.444 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-05/1.163, allocations: 7.938 kB / 1.444 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006506/1.164, allocations: 88 kB / 1.444 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.044e-05/1.164, allocations: 52 kB / 1.444 GB, free: 10.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007693/1.171, allocations: 2.592 MB / 1.446 GB, free: 7.715 MB / 1.17 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.02447/1.196, allocations: 14.88 MB / 1.461 GB, free: 7.922 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006074/1.202, allocations: 2.272 MB / 1.463 GB, free: 5.641 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/1.205, allocations: 0.992 MB / 1.464 GB, free: 4.645 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01/1.215, allocations: 4.995 MB / 1.469 GB, free: 15.36 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/1.215, allocations: 43.56 kB / 1.469 GB, free: 15.3 MB / 1.201 GB Notification: Performance of pre-optimization done (n=112): time 3.146e-06/1.215, allocations: 0 / 1.469 GB, free: 15.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.01192/1.227, allocations: 3.964 MB / 1.473 GB, free: 11.24 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.227, allocations: 68.34 kB / 1.473 GB, free: 11.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.237, allocations: 5.554 MB / 1.478 GB, free: 5.605 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0007303/1.238, allocations: 61.7 kB / 1.478 GB, free: 5.539 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002757/1.241, allocations: 2.266 MB / 1.481 GB, free: 3.254 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/1.242, allocations: 406.4 kB / 1.481 GB, free: 2.852 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/1.244, allocations: 0.8837 MB / 1.482 GB, free: 1.961 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/1.244, allocations: 301.1 kB / 1.482 GB, free: 1.664 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/1.248, allocations: 2.629 MB / 1.485 GB, free: 15.03 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/1.254, allocations: 3.459 MB / 1.488 GB, free: 11.25 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00897/1.263, allocations: 5.575 MB / 1.494 GB, free: 5.414 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.263, allocations: 4 kB / 1.494 GB, free: 5.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01336/1.276, allocations: 7.074 MB / 1.5 GB, free: 14.29 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/1.276, allocations: 15.94 kB / 1.5 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/1.276, allocations: 16 kB / 1.5 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/1.278, allocations: 0.7139 MB / 1.501 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/1.281, allocations: 0.6669 MB / 1.502 GB, free: 12.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.283, allocations: 2.725 MB / 1.504 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/1.287, allocations: 448.2 kB / 1.505 GB, free: 9.594 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005769/1.288, allocations: 219.8 kB / 1.505 GB, free: 9.379 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006124/1.294, allocations: 3.247 MB / 1.508 GB, free: 6.125 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004663/1.299, allocations: 3.03 MB / 1.511 GB, free: 2.777 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007857/1.307, allocations: 4.726 MB / 1.516 GB, free: 13.8 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-05/1.307, allocations: 8 kB / 1.516 GB, free: 13.79 MB / 1.248 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01294/1.32, allocations: 6.23 MB / 1.522 GB, free: 7.52 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.32, allocations: 19.94 kB / 1.522 GB, free: 7.5 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/1.32, allocations: 20 kB / 1.522 GB, free: 7.48 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.322, allocations: 0.7996 MB / 1.523 GB, free: 6.668 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/1.325, allocations: 0.6396 MB / 1.523 GB, free: 6.027 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/1.343, allocations: 13.64 MB / 1.537 GB, free: 7.73 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004558/1.348, allocations: 363.4 kB / 1.537 GB, free: 7.375 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007185/1.348, allocations: 175.9 kB / 1.537 GB, free: 7.203 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.001106/1.35, allocations: 328.2 kB / 1.538 GB, free: 6.875 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001506/1.351, allocations: 485.5 kB / 1.538 GB, free: 6.395 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00952/1.361, allocations: 3.322 MB / 1.541 GB, free: 3.043 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.361, allocations: 16 kB / 1.541 GB, free: 3.027 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.361, allocations: 4 kB / 1.541 GB, free: 3.023 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/1.361, allocations: 7.969 kB / 1.541 GB, free: 3.016 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.376, allocations: 6.191 MB / 1.547 GB, free: 12.74 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.376, allocations: 4.062 kB / 1.547 GB, free: 12.74 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.378, allocations: 299.6 kB / 1.548 GB, free: 12.45 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/1.379, allocations: 394.9 kB / 1.548 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.379, allocations: 51.94 kB / 1.548 GB, free: 12 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.381, allocations: 2.623 MB / 1.551 GB, free: 9.27 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.381, allocations: 0 / 1.551 GB, free: 9.27 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00769/1.389, allocations: 3.069 MB / 1.554 GB, free: 6.156 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/1.391, allocations: 0.7947 MB / 1.554 GB, free: 5.336 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.392, allocations: 23.94 kB / 1.554 GB, free: 5.312 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.395, allocations: 155.8 kB / 1.555 GB, free: 5.16 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/1.395, allocations: 85.19 kB / 1.555 GB, free: 5.078 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.395, allocations: 91.92 kB / 1.555 GB, free: 4.988 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007149/1.402, allocations: 3.674 MB / 1.558 GB, free: 1.32 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.31e-07/1.402, allocations: 4 kB / 1.558 GB, free: 1.316 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.6068/2.009, allocations: 2.313 MB / 1.561 GB, free: 334.7 MB / 1.279 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.01023/2.019, allocations: 4.191 MB / 1.565 GB, free: 333.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01479/2.034, allocations: 7.918 MB / 1.572 GB, free: 331.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/2.034, allocations: 6.25 kB / 1.572 GB, free: 331.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/2.037, allocations: 1.163 MB / 1.573 GB, free: 331.2 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/2.048, allocations: 2.441 MB / 1.576 GB, free: 330.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08234/2.131, allocations: 43.09 MB / 1.618 GB, free: 300.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003711/2.134, allocations: 2.869 MB / 1.621 GB, free: 297.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006198/2.141, allocations: 1.345 MB / 1.622 GB, free: 296.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003376/2.144, allocations: 2.233 MB / 1.624 GB, free: 294.1 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/2.144, allocations: 0 / 1.624 GB, free: 294.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/2.334, allocations: 145 MB / 1.766 GB, free: 150.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.68/28.01, allocations: 3.984 kB / 1.766 GB, free: 150.8 MB / 1.279 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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