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.008586/0.008586, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.002099/0.002099, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.8281, 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.1075/0.9356, allocations: 104.1 MB / 1.309 GB, free: 5.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05388/0.9895, allocations: 34.93 MB / 1.343 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007122/0.9967, allocations: 159.2 kB / 1.343 GB, free: 1.852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009415/1.006, allocations: 2.891 MB / 1.346 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01564/1.022, allocations: 5.454 MB / 1.351 GB, free: 9.469 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01098/1.033, allocations: 4.055 MB / 1.355 GB, free: 5.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0444/1.077, allocations: 31.53 MB / 1.386 GB, free: 5.855 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00646/1.084, allocations: 3.672 MB / 1.39 GB, free: 2.117 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/1.095, allocations: 4.367 MB / 1.394 GB, free: 13.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006564/1.101, allocations: 3.363 MB / 1.397 GB, free: 10.37 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/1.103, allocations: 460 kB / 1.398 GB, free: 9.922 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006702/1.11, allocations: 2.933 MB / 1.401 GB, free: 6.984 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.002247/1.112, allocations: 1.881 MB / 1.402 GB, free: 5.098 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.004929/1.117, allocations: 3.039 MB / 1.405 GB, free: 2.043 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01371/1.13, allocations: 8.96 MB / 1.414 GB, free: 9.055 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.13, allocations: 0 / 1.414 GB, free: 9.055 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.114e-06/1.131, allocations: 4 kB / 1.414 GB, free: 9.051 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000227/1.131, allocations: 4 kB / 1.414 GB, free: 9.047 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.01366/1.144, allocations: 6.405 MB / 1.42 GB, free: 2.523 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.144, allocations: 8.031 kB / 1.42 GB, free: 2.516 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004549/1.145, allocations: 303.7 kB / 1.421 GB, free: 2.207 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/1.156, allocations: 1.901 MB / 1.423 GB, free: 304 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03569/1.192, allocations: 17.96 MB / 1.44 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/1.192, allocations: 188.2 kB / 1.44 GB, free: 14.06 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008472/1.193, allocations: 248 kB / 1.44 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/1.2, allocations: 3.223 MB / 1.444 GB, free: 10.45 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-05/1.2, allocations: 0 / 1.444 GB, free: 10.45 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/1.201, allocations: 91.98 kB / 1.444 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/1.201, allocations: 56 kB / 1.444 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006819/1.208, allocations: 2.596 MB / 1.446 GB, free: 7.691 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.02459/1.232, allocations: 14.87 MB / 1.461 GB, free: 7.914 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005563/1.238, allocations: 2.27 MB / 1.463 GB, free: 5.633 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/1.24, allocations: 0.9959 MB / 1.464 GB, free: 4.633 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008429/1.249, allocations: 4.991 MB / 1.469 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.249, allocations: 43.56 kB / 1.469 GB, free: 15.3 MB / 1.201 GB Notification: Performance of pre-optimization done (n=112): time 2.855e-06/1.249, allocations: 0 / 1.469 GB, free: 15.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.01193/1.261, allocations: 3.964 MB / 1.473 GB, free: 11.24 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/1.261, allocations: 64.34 kB / 1.473 GB, free: 11.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.272, allocations: 5.562 MB / 1.478 GB, free: 5.598 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005154/1.273, allocations: 53.7 kB / 1.478 GB, free: 5.539 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002584/1.276, allocations: 2.263 MB / 1.481 GB, free: 3.258 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007585/1.276, allocations: 410.3 kB / 1.481 GB, free: 2.852 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/1.278, allocations: 0.8837 MB / 1.482 GB, free: 1.961 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.279, allocations: 301.1 kB / 1.482 GB, free: 1.664 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004546/1.283, allocations: 2.625 MB / 1.485 GB, free: 15.03 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005839/1.289, allocations: 3.467 MB / 1.488 GB, free: 11.24 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009937/1.299, allocations: 5.583 MB / 1.493 GB, free: 5.398 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/1.299, allocations: 4 kB / 1.493 GB, free: 5.395 MB / 1.217 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01611/1.315, allocations: 7.066 MB / 1.5 GB, free: 14.28 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.315, allocations: 15.94 kB / 1.5 GB, free: 14.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-05/1.315, allocations: 16 kB / 1.5 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/1.317, allocations: 0.7218 MB / 1.501 GB, free: 13.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.32, allocations: 0.667 MB / 1.502 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/1.323, allocations: 2.721 MB / 1.504 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004507/1.327, allocations: 448 kB / 1.505 GB, free: 9.586 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006833/1.328, allocations: 211.8 kB / 1.505 GB, free: 9.379 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006177/1.334, allocations: 3.248 MB / 1.508 GB, free: 6.125 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004508/1.339, allocations: 3.03 MB / 1.511 GB, free: 2.773 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007441/1.346, allocations: 4.728 MB / 1.516 GB, free: 13.79 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.646e-05/1.346, allocations: 4 kB / 1.516 GB, free: 13.78 MB / 1.248 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01266/1.359, allocations: 6.241 MB / 1.522 GB, free: 7.504 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.359, allocations: 12 kB / 1.522 GB, free: 7.492 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/1.359, allocations: 16 kB / 1.522 GB, free: 7.477 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/1.362, allocations: 0.8038 MB / 1.523 GB, free: 6.66 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/1.365, allocations: 0.6357 MB / 1.523 GB, free: 6.023 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/1.382, allocations: 13.64 MB / 1.537 GB, free: 7.723 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/1.387, allocations: 359.4 kB / 1.537 GB, free: 7.371 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008509/1.388, allocations: 175.9 kB / 1.537 GB, free: 7.199 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.001202/1.389, allocations: 332.2 kB / 1.538 GB, free: 6.867 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/1.391, allocations: 485.5 kB / 1.538 GB, free: 6.387 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009665/1.4, allocations: 3.334 MB / 1.541 GB, free: 3.023 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.4, allocations: 12 kB / 1.541 GB, free: 3.012 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.4, allocations: 4 kB / 1.541 GB, free: 3.008 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.4, allocations: 7.969 kB / 1.541 GB, free: 3 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.416, allocations: 6.191 MB / 1.547 GB, free: 12.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.416, allocations: 0 / 1.547 GB, free: 12.73 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.418, allocations: 303.6 kB / 1.548 GB, free: 12.43 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/1.419, allocations: 383 kB / 1.548 GB, free: 12.04 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/1.419, allocations: 51.94 kB / 1.548 GB, free: 11.99 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.421, allocations: 2.615 MB / 1.551 GB, free: 9.273 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.421, allocations: 256 / 1.551 GB, free: 9.273 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/1.428, allocations: 3.069 MB / 1.554 GB, free: 6.16 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.43, allocations: 0.7986 MB / 1.554 GB, free: 5.336 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001098/1.431, allocations: 31.88 kB / 1.554 GB, free: 5.305 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002753/1.434, allocations: 147.8 kB / 1.554 GB, free: 5.16 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/1.434, allocations: 93.12 kB / 1.555 GB, free: 5.07 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.435, allocations: 95.98 kB / 1.555 GB, free: 4.977 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006877/1.442, allocations: 3.674 MB / 1.558 GB, free: 1.309 MB / 1.279 GB Notification: Performance of sort global known variables: time 6.21e-07/1.442, allocations: 0 / 1.558 GB, free: 1.309 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.5869/2.028, allocations: 2.314 MB / 1.561 GB, free: 333.5 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.01007/2.039, allocations: 4.192 MB / 1.565 GB, free: 332.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01634/2.055, allocations: 7.916 MB / 1.572 GB, free: 330.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/2.055, allocations: 0 / 1.572 GB, free: 330.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003144/2.058, allocations: 1.168 MB / 1.573 GB, free: 329.8 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/2.07, allocations: 2.436 MB / 1.576 GB, free: 329.2 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0767/2.147, allocations: 43.1 MB / 1.618 GB, free: 298.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/2.15, allocations: 2.872 MB / 1.621 GB, free: 295.6 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00553/2.155, allocations: 1.339 MB / 1.622 GB, free: 294.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003182/2.159, allocations: 2.229 MB / 1.624 GB, free: 292.2 MB / 1.279 GB Notification: Performance of SimCode: time 1.342e-06/2.159, allocations: 0 / 1.624 GB, free: 292.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1893/2.348, allocations: 145 MB / 1.766 GB, free: 149 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.73/28.08, allocations: 10.09 kB / 1.766 GB, free: 148.9 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