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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001058/0.001059, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 185.8 kB / 16.92 MB, free: 6.75 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437.8 MB / 0.7128 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6415, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1643/0.8058, allocations: 159.1 MB / 1.179 GB, free: 268 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.8181, allocations: 8.765 MB / 1.188 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.819, allocations: 11.94 kB / 1.188 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.8202, allocations: 290.4 kB / 1.188 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.8223, allocations: 0.6492 MB / 1.189 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004892/0.8273, allocations: 1.766 MB / 1.19 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.8295, allocations: 1.801 MB / 1.192 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000774/0.8302, allocations: 356.6 kB / 1.192 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.8341, allocations: 1.268 MB / 1.194 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.8351, allocations: 442.1 kB / 1.194 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.8352, allocations: 28 kB / 1.194 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007141/0.8424, allocations: 3.523 MB / 1.197 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/0.8427, allocations: 123.4 kB / 1.198 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.8434, allocations: 348.1 kB / 1.198 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.8464, allocations: 1.797 MB / 1.2 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8464, allocations: 0 / 1.2 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8464, allocations: 0 / 1.2 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.915e-05/0.8464, allocations: 4 kB / 1.2 GB, free: 11.07 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.002256/0.8487, allocations: 0.9006 MB / 1.201 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8488, allocations: 12.03 kB / 1.201 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.85, allocations: 135.2 kB / 1.201 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.8506, allocations: 421.6 kB / 1.201 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.8507, allocations: 41.31 kB / 1.201 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.783e-05/0.8508, allocations: 56 kB / 1.201 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.852, allocations: 0.672 MB / 1.202 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.852, allocations: 0 / 1.202 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.8521, allocations: 24 kB / 1.202 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.8521, allocations: 12 kB / 1.202 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.8531, allocations: 487.5 kB / 1.202 GB, free: 8.195 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.01561/0.8687, allocations: 6.518 MB / 1.209 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.8692, allocations: 163.2 kB / 1.209 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.8695, allocations: 125.3 kB / 1.209 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.8811, allocations: 3.857 MB / 1.213 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.8812, allocations: 50.66 kB / 1.213 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.314e-06/0.8812, allocations: 0 / 1.213 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.07743/0.9586, allocations: 29.14 MB / 1.241 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.9587, allocations: 140.5 kB / 1.241 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.9593, allocations: 457.8 kB / 1.242 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.9593, allocations: 37.7 kB / 1.242 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.9596, allocations: 307.4 kB / 1.242 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.9597, allocations: 141.9 kB / 1.242 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.9598, allocations: 49.69 kB / 1.242 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9599, allocations: 358.8 kB / 1.243 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.9603, allocations: 185 kB / 1.243 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.9609, allocations: 361.2 kB / 1.243 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.9618, allocations: 0.5288 MB / 1.244 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.9618, allocations: 4 kB / 1.244 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001749/0.9636, allocations: 0.6975 MB / 1.244 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.9636, allocations: 11.28 kB / 1.244 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.9636, allocations: 4 kB / 1.244 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.9641, allocations: 129.6 kB / 1.245 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.9646, allocations: 120.1 kB / 1.245 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.9675, allocations: 3.071 MB / 1.248 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.9681, allocations: 44 kB / 1.248 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.9681, allocations: 28 kB / 1.248 GB, free: 8.789 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.0002845/0.9684, allocations: 194.2 kB / 1.248 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.9686, allocations: 55.34 kB / 1.248 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.9701, allocations: 0.6655 MB / 1.249 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.9701, allocations: 4 kB / 1.249 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.9701, allocations: 0 / 1.249 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.9701, allocations: 4.031 kB / 1.249 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.9722, allocations: 1.213 MB / 1.25 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.9723, allocations: 4 kB / 1.25 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.9726, allocations: 71.89 kB / 1.25 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.9729, allocations: 64.81 kB / 1.25 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.9729, allocations: 20.08 kB / 1.25 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.9745, allocations: 1.569 MB / 1.251 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.9745, allocations: 8.062 kB / 1.251 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.976, allocations: 0.7399 MB / 1.252 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.9761, allocations: 144.5 kB / 1.252 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.9762, allocations: 15.94 kB / 1.252 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.9766, allocations: 31.89 kB / 1.252 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.9767, allocations: 39.98 kB / 1.252 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.9768, allocations: 19.98 kB / 1.252 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004215/0.9772, allocations: 358.8 kB / 1.253 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9772, allocations: 0 / 1.253 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001742/0.979, allocations: 0.5584 MB / 1.253 GB, free: 2.652 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.001858/0.9808, allocations: 0.5695 MB / 1.254 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.9823, allocations: 0.6695 MB / 1.255 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9823, allocations: 0 / 1.255 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.9828, allocations: 295.5 kB / 1.255 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.9847, allocations: 291.2 kB / 1.255 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5031/1.488, allocations: 1.424 MB / 1.257 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/1.488, allocations: 0.8612 MB / 1.257 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/1.488, allocations: 53.61 kB / 1.257 GB, free: 217 MB / 0.9981 GB Notification: Performance of SimCode: time 1.733e-06/1.488, allocations: 0 / 1.257 GB, free: 217 MB / 0.9981 GB Notification: Performance of Templates: time 0.04218/1.531, allocations: 19.72 MB / 1.277 GB, free: 215.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/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