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.007824/0.007824, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001789/0.001789, allocations: 196.6 kB / 16.67 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 1.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.332 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 2.474/2.474, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 71.86 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2695, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.7875/1.057, allocations: 163.2 MB / 1.326 GB, free: 6.746 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01092/1.068, allocations: 8.139 MB / 1.333 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009316/1.069, allocations: 18.19 kB / 1.334 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/1.07, allocations: 355.8 kB / 1.334 GB, free: 1.094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/1.072, allocations: 0.741 MB / 1.335 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006419/1.079, allocations: 2.15 MB / 1.337 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002068/1.081, allocations: 1.367 MB / 1.338 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006815/1.082, allocations: 431.4 kB / 1.338 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/1.086, allocations: 1.46 MB / 1.34 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007266/1.087, allocations: 446.4 kB / 1.34 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.743e-05/1.087, allocations: 51.47 kB / 1.34 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007969/1.095, allocations: 3.629 MB / 1.344 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/1.095, allocations: 156.5 kB / 1.344 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006276/1.096, allocations: 345.2 kB / 1.344 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005453/1.101, allocations: 2.586 MB / 1.347 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.101, allocations: 0 / 1.347 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/1.101, allocations: 1.062 kB / 1.347 GB, free: 12.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.101, allocations: 3.938 kB / 1.347 GB, free: 12.01 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.003113/1.104, allocations: 1.044 MB / 1.348 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/1.104, allocations: 16.62 kB / 1.348 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/1.104, allocations: 97.09 kB / 1.348 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/1.106, allocations: 138.4 kB / 1.348 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/1.106, allocations: 430 kB / 1.349 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/1.106, allocations: 37.59 kB / 1.349 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/1.107, allocations: 54.34 kB / 1.349 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/1.108, allocations: 0.6496 MB / 1.349 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.108, allocations: 5.062 kB / 1.349 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/1.108, allocations: 31.64 kB / 1.349 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/1.108, allocations: 13.62 kB / 1.349 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/1.109, allocations: 464.3 kB / 1.35 GB, free: 9.926 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.016/1.125, allocations: 6.503 MB / 1.356 GB, free: 5.594 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/1.125, allocations: 158.1 kB / 1.356 GB, free: 5.508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/1.126, allocations: 121.1 kB / 1.356 GB, free: 5.445 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/1.137, allocations: 3.858 MB / 1.36 GB, free: 3.418 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.137, allocations: 45.23 kB / 1.36 GB, free: 3.371 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.996e-06/1.137, allocations: 0 / 1.36 GB, free: 3.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.07598/1.213, allocations: 30.64 MB / 1.39 GB, free: 14.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/1.213, allocations: 148.4 kB / 1.39 GB, free: 14.81 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/1.214, allocations: 461.8 kB / 1.391 GB, free: 14.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.214, allocations: 33.7 kB / 1.391 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/1.214, allocations: 316.1 kB / 1.391 GB, free: 14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/1.214, allocations: 146.7 kB / 1.391 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.214, allocations: 106.2 kB / 1.391 GB, free: 13.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.214, allocations: 358.8 kB / 1.392 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/1.215, allocations: 185 kB / 1.392 GB, free: 13.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/1.215, allocations: 349.2 kB / 1.392 GB, free: 12.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/1.216, allocations: 0.5251 MB / 1.393 GB, free: 12.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.216, allocations: 0 / 1.393 GB, free: 12.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001549/1.218, allocations: 0.6974 MB / 1.393 GB, free: 11.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.218, allocations: 8 kB / 1.393 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.218, allocations: 4 kB / 1.393 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/1.218, allocations: 122.1 kB / 1.393 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/1.218, allocations: 111.9 kB / 1.394 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/1.221, allocations: 3.417 MB / 1.397 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/1.222, allocations: 23.98 kB / 1.397 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/1.222, allocations: 27.98 kB / 1.397 GB, free: 7.516 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.0002412/1.222, allocations: 189.6 kB / 1.397 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/1.222, allocations: 63.61 kB / 1.397 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/1.224, allocations: 0.6488 MB / 1.398 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.224, allocations: 7.938 kB / 1.398 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/1.224, allocations: 0 / 1.398 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.224, allocations: 8.031 kB / 1.398 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/1.226, allocations: 1.199 MB / 1.399 GB, free: 5.262 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.226, allocations: 4 kB / 1.399 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/1.226, allocations: 68.39 kB / 1.399 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/1.226, allocations: 72.75 kB / 1.399 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/1.226, allocations: 12 kB / 1.399 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/1.228, allocations: 1.732 MB / 1.401 GB, free: 3.238 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.228, allocations: 4.062 kB / 1.401 GB, free: 3.234 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.229, allocations: 0.7404 MB / 1.402 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.229, allocations: 128.8 kB / 1.402 GB, free: 2.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/1.229, allocations: 8 kB / 1.402 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/1.23, allocations: 27.97 kB / 1.402 GB, free: 2.246 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/1.23, allocations: 39.91 kB / 1.402 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/1.23, allocations: 16.14 kB / 1.402 GB, free: 2.191 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000381/1.23, allocations: 358.8 kB / 1.402 GB, free: 1.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.23, allocations: 0 / 1.402 GB, free: 1.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0023/1.232, allocations: 0.5617 MB / 1.403 GB, free: 1.277 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.003927/1.236, allocations: 1.731 MB / 1.404 GB, free: 15.47 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001375/1.238, allocations: 0.6732 MB / 1.405 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.238, allocations: 7.938 kB / 1.405 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005036/1.238, allocations: 286.9 kB / 1.405 GB, free: 14.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.24, allocations: 307.8 kB / 1.406 GB, free: 14.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007805/1.248, allocations: 5.358 MB / 1.411 GB, free: 8.512 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/1.248, allocations: 0.8589 MB / 1.412 GB, free: 7.625 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004481/1.248, allocations: 118 kB / 1.412 GB, free: 7.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/1.249, allocations: 187.4 kB / 1.412 GB, free: 7.34 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/1.249, allocations: 3.938 kB / 1.412 GB, free: 7.336 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/1.309, allocations: 28.69 MB / 1.44 GB, free: 11.11 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.96, allocations: 23.09 kB / 1.44 GB, free: 11.09 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