Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",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.009906/0.009906, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002266/0.002266, allocations: 202.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.352/2.352, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.223/4.223, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4591, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 1.309/1.768, allocations: 163.2 MB / 1.326 GB, free: 6.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02059/1.789, allocations: 8.136 MB / 1.334 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/1.79, allocations: 14.97 kB / 1.334 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/1.792, allocations: 342.7 kB / 1.334 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004405/1.797, allocations: 0.7231 MB / 1.335 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01036/1.807, allocations: 2.129 MB / 1.337 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003584/1.811, allocations: 1.365 MB / 1.338 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/1.812, allocations: 440.4 kB / 1.338 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006026/1.818, allocations: 1.416 MB / 1.34 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/1.82, allocations: 449.1 kB / 1.34 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/1.82, allocations: 51.09 kB / 1.34 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/1.833, allocations: 3.623 MB / 1.344 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005412/1.833, allocations: 156 kB / 1.344 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/1.835, allocations: 344.2 kB / 1.344 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01/1.845, allocations: 2.584 MB / 1.347 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/1.845, allocations: 0 / 1.347 GB, free: 12.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.225e-06/1.845, allocations: 3.938 kB / 1.347 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.845, allocations: 0 / 1.347 GB, free: 12.04 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004935/1.85, allocations: 1.047 MB / 1.348 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/1.85, allocations: 12.69 kB / 1.348 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/1.85, allocations: 98.53 kB / 1.348 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.852, allocations: 142.6 kB / 1.348 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/1.853, allocations: 424.5 kB / 1.348 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/1.853, allocations: 46.59 kB / 1.348 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.854, allocations: 50.44 kB / 1.349 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/1.856, allocations: 0.6532 MB / 1.349 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/1.856, allocations: 5.047 kB / 1.349 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-05/1.856, allocations: 24.12 kB / 1.349 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/1.856, allocations: 19.83 kB / 1.349 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/1.858, allocations: 472.7 kB / 1.35 GB, free: 9.945 MB / 1.029 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.02743/1.885, allocations: 6.491 MB / 1.356 GB, free: 5.625 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/1.886, allocations: 161.8 kB / 1.356 GB, free: 5.535 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/1.886, allocations: 125 kB / 1.356 GB, free: 5.469 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01987/1.906, allocations: 3.855 MB / 1.36 GB, free: 3.445 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.574e-05/1.906, allocations: 37.55 kB / 1.36 GB, free: 3.402 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 3.927e-06/1.906, allocations: 0 / 1.36 GB, free: 3.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.1375/2.044, allocations: 30.64 MB / 1.39 GB, free: 15.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/2.044, allocations: 148.4 kB / 1.39 GB, free: 14.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/2.045, allocations: 461.8 kB / 1.391 GB, free: 14.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/2.045, allocations: 33.7 kB / 1.391 GB, free: 14.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/2.046, allocations: 312.1 kB / 1.391 GB, free: 14.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/2.046, allocations: 154.7 kB / 1.391 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/2.046, allocations: 102.2 kB / 1.391 GB, free: 13.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002535/2.046, allocations: 362.8 kB / 1.392 GB, free: 13.49 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/2.047, allocations: 181 kB / 1.392 GB, free: 13.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009557/2.048, allocations: 357.2 kB / 1.392 GB, free: 12.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/2.05, allocations: 0.5127 MB / 1.393 GB, free: 12.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/2.05, allocations: 0 / 1.393 GB, free: 12.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00305/2.053, allocations: 0.7162 MB / 1.393 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/2.053, allocations: 4 kB / 1.393 GB, free: 11.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/2.053, allocations: 8 kB / 1.393 GB, free: 11.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/2.054, allocations: 113.6 kB / 1.393 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/2.054, allocations: 111.8 kB / 1.393 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005432/2.06, allocations: 3.404 MB / 1.397 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/2.061, allocations: 27.98 kB / 1.397 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/2.061, allocations: 23.98 kB / 1.397 GB, free: 7.621 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005019/2.062, allocations: 197.7 kB / 1.397 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004221/2.062, allocations: 59.66 kB / 1.397 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/2.065, allocations: 0.656 MB / 1.398 GB, free: 6.676 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/2.065, allocations: 4 kB / 1.398 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/2.065, allocations: 0.75 kB / 1.398 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/2.065, allocations: 3.984 kB / 1.398 GB, free: 6.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/2.068, allocations: 1.199 MB / 1.399 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/2.068, allocations: 4 kB / 1.399 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/2.069, allocations: 71.83 kB / 1.399 GB, free: 5.285 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/2.069, allocations: 64.81 kB / 1.399 GB, free: 5.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/2.069, allocations: 16.12 kB / 1.399 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003025/2.073, allocations: 1.736 MB / 1.401 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/2.073, allocations: 12 kB / 1.401 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/2.075, allocations: 0.7248 MB / 1.401 GB, free: 2.527 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/2.076, allocations: 132.8 kB / 1.402 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/2.076, allocations: 12 kB / 1.402 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/2.076, allocations: 28.03 kB / 1.402 GB, free: 2.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/2.077, allocations: 31.84 kB / 1.402 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/2.077, allocations: 16 kB / 1.402 GB, free: 2.293 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00079/2.077, allocations: 358.8 kB / 1.402 GB, free: 1.941 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.1e-07/2.077, allocations: 0 / 1.402 GB, free: 1.941 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003969/2.081, allocations: 0.5695 MB / 1.403 GB, free: 1.371 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (volDyn.VWat,volSte.VWat) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008369/2.09, allocations: 1.723 MB / 1.404 GB, free: 15.58 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002753/2.093, allocations: 0.6842 MB / 1.405 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/2.093, allocations: 3.938 kB / 1.405 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009575/2.094, allocations: 283.4 kB / 1.405 GB, free: 14.58 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/2.097, allocations: 307.2 kB / 1.405 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/2.113, allocations: 5.355 MB / 1.411 GB, free: 8.613 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000879/2.114, allocations: 0.8667 MB / 1.412 GB, free: 7.719 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000845/2.115, allocations: 116.6 kB / 1.412 GB, free: 7.617 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/2.115, allocations: 195.4 kB / 1.412 GB, free: 7.43 MB / 1.076 GB Notification: Performance of SimCode: time 1.583e-06/2.115, allocations: 3.938 kB / 1.412 GB, free: 7.426 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/2.242, allocations: 28.68 MB / 1.44 GB, free: 11.21 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.63/24.87, allocations: 23.94 kB / 1.44 GB, free: 11.18 MB / 1.107 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches