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: translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001195/0.001195, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.457/2.457, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7036/0.705, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1723/0.8773, allocations: 161.2 MB / 1.174 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.8907, allocations: 8.846 MB / 1.183 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008381/0.8916, allocations: 15.94 kB / 1.183 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.8927, allocations: 294.4 kB / 1.183 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.8949, allocations: 0.6454 MB / 1.184 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.9004, allocations: 1.764 MB / 1.185 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.9026, allocations: 1.793 MB / 1.187 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.9032, allocations: 365.1 kB / 1.187 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.9068, allocations: 1.296 MB / 1.189 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.9075, allocations: 446.1 kB / 1.189 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.791e-05/0.9076, allocations: 32 kB / 1.189 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006793/0.9144, allocations: 3.527 MB / 1.193 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.9147, allocations: 139.4 kB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006353/0.9154, allocations: 326.5 kB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.9205, allocations: 2.553 MB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9205, allocations: 4 kB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.92e-07/0.9205, allocations: 0 / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.9205, allocations: 0 / 1.196 GB, free: 10.96 MB / 0.9512 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.002285/0.9228, allocations: 1.021 MB / 1.197 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.9229, allocations: 8.031 kB / 1.197 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.924, allocations: 143.1 kB / 1.197 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.9246, allocations: 417.6 kB / 1.197 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.9247, allocations: 41.31 kB / 1.197 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.9248, allocations: 55.94 kB / 1.197 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.9259, allocations: 0.657 MB / 1.198 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.926, allocations: 4 kB / 1.198 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/0.926, allocations: 20 kB / 1.198 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.9261, allocations: 16 kB / 1.198 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/0.927, allocations: 471.5 kB / 1.198 GB, free: 7.992 MB / 0.9512 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.01509/0.9421, allocations: 6.471 MB / 1.205 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.9426, allocations: 163.1 kB / 1.205 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.9429, allocations: 117.3 kB / 1.205 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.9538, allocations: 3.822 MB / 1.209 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.9539, allocations: 38.8 kB / 1.209 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/0.9539, allocations: 0 / 1.209 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.07782/1.032, allocations: 30.35 MB / 1.238 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.032, allocations: 136.5 kB / 1.238 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/1.032, allocations: 461.8 kB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/1.032, allocations: 33.7 kB / 1.239 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/1.033, allocations: 307.4 kB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/1.033, allocations: 142 kB / 1.239 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.033, allocations: 102.1 kB / 1.239 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.033, allocations: 366.8 kB / 1.24 GB, free: 13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/1.034, allocations: 177 kB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/1.034, allocations: 359.2 kB / 1.24 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000883/1.035, allocations: 0.5176 MB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.035, allocations: 0 / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001729/1.037, allocations: 0.6961 MB / 1.241 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.037, allocations: 8.516 kB / 1.241 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.037, allocations: 8 kB / 1.241 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/1.037, allocations: 113.6 kB / 1.242 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/1.038, allocations: 115.8 kB / 1.242 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/1.041, allocations: 3.071 MB / 1.245 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/1.041, allocations: 55.84 kB / 1.245 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/1.042, allocations: 27.98 kB / 1.245 GB, free: 7.449 MB / 0.9981 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.0003182/1.042, allocations: 190.3 kB / 1.245 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/1.042, allocations: 59.42 kB / 1.245 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.044, allocations: 0.6495 MB / 1.246 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.044, allocations: 4 kB / 1.246 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/1.044, allocations: 0 / 1.246 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.044, allocations: 7.984 kB / 1.246 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/1.046, allocations: 1.204 MB / 1.247 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.046, allocations: 4 kB / 1.247 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/1.046, allocations: 67.84 kB / 1.247 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/1.046, allocations: 68.8 kB / 1.247 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/1.046, allocations: 15.94 kB / 1.247 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/1.048, allocations: 1.557 MB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.048, allocations: 7.938 kB / 1.249 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/1.05, allocations: 0.7244 MB / 1.249 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.05, allocations: 124.5 kB / 1.249 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/1.05, allocations: 15.92 kB / 1.249 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/1.05, allocations: 31.83 kB / 1.249 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/1.05, allocations: 39.91 kB / 1.249 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/1.05, allocations: 19.98 kB / 1.249 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004537/1.051, allocations: 358.8 kB / 1.25 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.051, allocations: 0 / 1.25 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002094/1.053, allocations: 0.5584 MB / 1.25 GB, free: 1.391 MB / 0.9981 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.002174/1.055, allocations: 0.5701 MB / 1.251 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001589/1.057, allocations: 0.6503 MB / 1.252 GB, free: 148 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.057, allocations: 0 / 1.252 GB, free: 148 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.5151/1.572, allocations: 281.6 kB / 1.252 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.574, allocations: 297.9 kB / 1.252 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/1.576, allocations: 1.324 MB / 1.253 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/1.576, allocations: 0.8647 MB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005609/1.577, allocations: 114.7 kB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.577, allocations: 48.25 kB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.577, allocations: 0 / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04063/1.618, allocations: 22.52 MB / 1.276 GB, free: 216.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (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 & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/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