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.001649/0.001649, allocations: 106.4 kB / 15.99 MB, free: 5.891 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.001696/0.001696, allocations: 187.6 kB / 16.91 MB, free: 5.746 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.503/1.503, allocations: 222.9 MB / 240.6 MB, free: 4.543 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.667/2.667, allocations: 437.1 MB / 0.7107 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.89 kB / 0.8694 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6506, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1917/0.8424, allocations: 161.1 MB / 1.175 GB, free: 1.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.8547, allocations: 8.244 MB / 1.183 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007238/0.8555, allocations: 15.88 kB / 1.183 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.8567, allocations: 298.4 kB / 1.183 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.8589, allocations: 0.6649 MB / 1.184 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.8643, allocations: 1.903 MB / 1.186 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.8664, allocations: 1.372 MB / 1.187 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000785/0.8672, allocations: 437.4 kB / 1.187 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.8708, allocations: 1.362 MB / 1.189 GB, free: 2.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007994/0.8716, allocations: 462.2 kB / 1.189 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.8717, allocations: 52 kB / 1.189 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006755/0.8785, allocations: 3.539 MB / 1.193 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.8788, allocations: 159.4 kB / 1.193 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.8795, allocations: 346.5 kB / 1.193 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.8826, allocations: 1.828 MB / 1.195 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8826, allocations: 4 kB / 1.195 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8826, allocations: 0 / 1.195 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.8826, allocations: 0 / 1.195 GB, free: 12.31 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.0023/0.8849, allocations: 1.029 MB / 1.196 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.885, allocations: 8.031 kB / 1.196 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.8861, allocations: 139.2 kB / 1.196 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.8868, allocations: 413.5 kB / 1.197 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.8868, allocations: 41.31 kB / 1.197 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.8869, allocations: 52 kB / 1.197 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.8882, allocations: 0.6565 MB / 1.197 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.8883, allocations: 3.938 kB / 1.197 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/0.8883, allocations: 32 kB / 1.197 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.8884, allocations: 16 kB / 1.197 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.8894, allocations: 467.5 kB / 1.198 GB, free: 9.34 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.01618/0.9056, allocations: 6.467 MB / 1.204 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.9061, allocations: 155.2 kB / 1.204 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.9064, allocations: 125.3 kB / 1.204 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.9181, allocations: 3.814 MB / 1.208 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.336e-05/0.9182, allocations: 42.78 kB / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.9182, allocations: 0 / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.0851/1.003, allocations: 30.37 MB / 1.238 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.004, allocations: 144.5 kB / 1.238 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006686/1.004, allocations: 453.8 kB / 1.238 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/1.004, allocations: 37.7 kB / 1.238 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/1.005, allocations: 311.3 kB / 1.239 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.005, allocations: 138 kB / 1.239 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.005, allocations: 106.1 kB / 1.239 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000208/1.005, allocations: 362.8 kB / 1.239 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/1.006, allocations: 181 kB / 1.239 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/1.006, allocations: 351.3 kB / 1.24 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/1.007, allocations: 0.531 MB / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.007, allocations: 0 / 1.24 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001829/1.009, allocations: 0.6855 MB / 1.241 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.009, allocations: 8 kB / 1.241 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.009, allocations: 4 kB / 1.241 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005258/1.01, allocations: 126.1 kB / 1.241 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/1.01, allocations: 107.9 kB / 1.241 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003722/1.014, allocations: 3.417 MB / 1.245 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/1.014, allocations: 47.95 kB / 1.245 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/1.014, allocations: 24 kB / 1.245 GB, free: 8.445 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.000342/1.015, allocations: 193.6 kB / 1.245 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/1.015, allocations: 55.38 kB / 1.245 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/1.017, allocations: 0.649 MB / 1.245 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/1.017, allocations: 4 kB / 1.245 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.017, allocations: 0 / 1.245 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.017, allocations: 7.984 kB / 1.245 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.019, allocations: 1.195 MB / 1.247 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.019, allocations: 4 kB / 1.247 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/1.019, allocations: 76.39 kB / 1.247 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/1.02, allocations: 64.81 kB / 1.247 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/1.02, allocations: 12 kB / 1.247 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/1.022, allocations: 1.74 MB / 1.249 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.022, allocations: 11.94 kB / 1.249 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/1.023, allocations: 0.7204 MB / 1.249 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.024, allocations: 124.5 kB / 1.249 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/1.024, allocations: 15.98 kB / 1.249 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/1.024, allocations: 31.89 kB / 1.249 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/1.024, allocations: 35.84 kB / 1.249 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.024, allocations: 19.98 kB / 1.249 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004928/1.025, allocations: 354.9 kB / 1.25 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.3e-07/1.025, allocations: 4 kB / 1.25 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001862/1.027, allocations: 0.5584 MB / 1.25 GB, free: 2.215 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.002232/1.029, allocations: 0.5613 MB / 1.251 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001765/1.031, allocations: 0.6803 MB / 1.252 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.031, allocations: 0 / 1.252 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006273/1.031, allocations: 291.3 kB / 1.252 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.033, allocations: 305.9 kB / 1.252 GB, free: 372 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4988/1.532, allocations: 1.351 MB / 1.253 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/1.532, allocations: 0.8614 MB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/1.533, allocations: 54.56 kB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/1.533, allocations: 0.8438 kB / 1.254 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04177/1.574, allocations: 19.81 MB / 1.274 GB, free: 218.1 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=400 -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