Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.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_11_Buildings.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.001421/0.001422, allocations: 107.8 kB / 15.99 MB, free: 5.906 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.001431/0.001431, allocations: 195.4 kB / 16.91 MB, free: 5.754 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 13.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.574/2.574, allocations: 469.8 MB / 0.7427 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 68.14 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2998, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.6253/0.9252, allocations: 161.1 MB / 1.221 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.936, allocations: 8.226 MB / 1.23 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.9367, allocations: 18.19 kB / 1.23 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.9378, allocations: 304.1 kB / 1.23 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.9396, allocations: 0.6617 MB / 1.23 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.9446, allocations: 1.907 MB / 1.232 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.9466, allocations: 1.373 MB / 1.234 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006758/0.9473, allocations: 425.4 kB / 1.234 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.9507, allocations: 1.378 MB / 1.235 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.9514, allocations: 458.1 kB / 1.236 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.9515, allocations: 52 kB / 1.236 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006445/0.958, allocations: 3.539 MB / 1.239 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.9582, allocations: 159.4 kB / 1.24 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.9588, allocations: 342.5 kB / 1.24 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.9615, allocations: 1.817 MB / 1.242 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9615, allocations: 0 / 1.242 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9615, allocations: 4 kB / 1.242 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.9615, allocations: 0 / 1.242 GB, free: 3.379 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.002177/0.9637, allocations: 1.018 MB / 1.243 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.9638, allocations: 12.03 kB / 1.243 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.9649, allocations: 143.1 kB / 1.243 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.9655, allocations: 413.6 kB / 1.243 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.9656, allocations: 41.31 kB / 1.243 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-05/0.9657, allocations: 52 kB / 1.243 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.9669, allocations: 0.6526 MB / 1.244 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.9669, allocations: 11.86 kB / 1.244 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.967, allocations: 32 kB / 1.244 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.967, allocations: 12 kB / 1.244 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009945/0.968, allocations: 463.5 kB / 1.244 GB, free: 424 kB / 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.01562/0.9836, allocations: 6.464 MB / 1.251 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.9841, allocations: 163.1 kB / 1.251 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.9844, allocations: 130.1 kB / 1.251 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.9956, allocations: 3.81 MB / 1.255 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.9957, allocations: 42.78 kB / 1.255 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.295e-06/0.9957, allocations: 0 / 1.255 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.08346/1.079, allocations: 30.33 MB / 1.284 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/1.079, allocations: 140.5 kB / 1.284 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/1.08, allocations: 461.8 kB / 1.285 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/1.08, allocations: 37.7 kB / 1.285 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/1.08, allocations: 307.4 kB / 1.285 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/1.08, allocations: 141.9 kB / 1.285 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/1.081, allocations: 106.1 kB / 1.285 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.081, allocations: 362.8 kB / 1.286 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/1.081, allocations: 177 kB / 1.286 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005713/1.082, allocations: 353.2 kB / 1.286 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/1.083, allocations: 0.5128 MB / 1.287 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/1.083, allocations: 4 kB / 1.287 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001734/1.084, allocations: 0.6933 MB / 1.288 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.084, allocations: 8 kB / 1.288 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.084, allocations: 9.938 kB / 1.288 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/1.085, allocations: 126.1 kB / 1.288 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/1.085, allocations: 111.8 kB / 1.288 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/1.089, allocations: 3.421 MB / 1.291 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/1.089, allocations: 40.06 kB / 1.291 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/1.09, allocations: 24 kB / 1.291 GB, free: 15.53 MB / 1.014 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.0002719/1.09, allocations: 195.4 kB / 1.291 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/1.09, allocations: 59.28 kB / 1.291 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/1.091, allocations: 0.6454 MB / 1.292 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.091, allocations: 11.92 kB / 1.292 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.091, allocations: 0 / 1.292 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.091, allocations: 0 / 1.292 GB, free: 14.58 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/1.094, allocations: 1.2 MB / 1.293 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.094, allocations: 7.938 kB / 1.293 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/1.094, allocations: 76.39 kB / 1.293 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/1.094, allocations: 64.81 kB / 1.293 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/1.094, allocations: 8 kB / 1.293 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.096, allocations: 1.744 MB / 1.295 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.096, allocations: 4 kB / 1.295 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.098, allocations: 0.7204 MB / 1.296 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/1.098, allocations: 128.4 kB / 1.296 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/1.098, allocations: 11.98 kB / 1.296 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/1.098, allocations: 37.48 kB / 1.296 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/1.098, allocations: 31.84 kB / 1.296 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/1.098, allocations: 23.98 kB / 1.296 GB, free: 10.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004483/1.099, allocations: 354.9 kB / 1.296 GB, free: 9.852 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.099, allocations: 0 / 1.296 GB, free: 9.852 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00166/1.101, allocations: 0.5584 MB / 1.297 GB, free: 9.293 MB / 1.014 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.001896/1.103, allocations: 0.5543 MB / 1.297 GB, free: 8.738 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.104, allocations: 0.6702 MB / 1.298 GB, free: 8.043 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.104, allocations: 4 kB / 1.298 GB, free: 8.039 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005558/1.105, allocations: 283.3 kB / 1.298 GB, free: 7.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/1.106, allocations: 327.2 kB / 1.299 GB, free: 7.438 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/1.108, allocations: 1.348 MB / 1.3 GB, free: 6.008 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/1.109, allocations: 0.8628 MB / 1.301 GB, free: 5.117 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.109, allocations: 51.44 kB / 1.301 GB, free: 5.066 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/1.109, allocations: 0 / 1.301 GB, free: 5.066 MB / 1.014 GB Notification: Performance of Templates: time 0.02818/1.137, allocations: 19.65 MB / 1.32 GB, free: 1.551 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches