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.005441/0.005441, allocations: 99 kB / 15.73 MB, free: 6.016 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.001202/0.001202, allocations: 201.4 kB / 16.68 MB, free: 5.93 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.546/2.546, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 64.08 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7374, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1587/0.8961, allocations: 163.6 MB / 1.38 GB, free: 13.85 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009938/0.906, allocations: 8.132 MB / 1.388 GB, free: 5.688 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.9066, allocations: 11.94 kB / 1.388 GB, free: 5.676 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009679/0.9076, allocations: 357.8 kB / 1.389 GB, free: 5.324 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.9093, allocations: 0.757 MB / 1.389 GB, free: 4.566 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004884/0.9142, allocations: 2.144 MB / 1.392 GB, free: 2.43 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.9158, allocations: 1.372 MB / 1.393 GB, free: 1.051 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005921/0.9164, allocations: 369.5 kB / 1.393 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.9198, allocations: 1.46 MB / 1.395 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.9204, allocations: 442.2 kB / 1.395 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.9204, allocations: 52 kB / 1.395 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006219/0.9267, allocations: 3.628 MB / 1.399 GB, free: 11.1 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.9269, allocations: 163.4 kB / 1.399 GB, free: 10.94 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.9273, allocations: 342.5 kB / 1.399 GB, free: 10.61 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.9311, allocations: 2.571 MB / 1.402 GB, free: 8.027 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9311, allocations: 0 / 1.402 GB, free: 8.027 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9311, allocations: 0 / 1.402 GB, free: 8.027 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.9311, allocations: 0 / 1.402 GB, free: 8.027 MB / 1.123 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.001906/0.933, allocations: 1.039 MB / 1.403 GB, free: 6.938 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.9331, allocations: 11.97 kB / 1.403 GB, free: 6.926 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.9342, allocations: 139.5 kB / 1.403 GB, free: 6.789 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.9348, allocations: 433.9 kB / 1.403 GB, free: 6.328 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.9349, allocations: 37.31 kB / 1.403 GB, free: 6.289 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.935, allocations: 56 kB / 1.403 GB, free: 6.234 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.9361, allocations: 0.6525 MB / 1.404 GB, free: 5.531 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.9361, allocations: 0 / 1.404 GB, free: 5.531 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.9362, allocations: 32 kB / 1.404 GB, free: 5.5 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.9362, allocations: 16 kB / 1.404 GB, free: 5.484 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.9372, allocations: 463.5 kB / 1.404 GB, free: 5.031 MB / 1.123 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.01527/0.9524, allocations: 6.503 MB / 1.411 GB, free: 14.25 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.9529, allocations: 151.2 kB / 1.411 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.9532, allocations: 117.2 kB / 1.411 GB, free: 13.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.9645, allocations: 3.857 MB / 1.415 GB, free: 9.969 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.9645, allocations: 38.8 kB / 1.415 GB, free: 9.922 MB / 1.139 GB Notification: Performance of pre-optimization done (n=27): time 2.344e-06/0.9645, allocations: 0 / 1.415 GB, free: 9.922 MB / 1.139 GB Notification: Performance of matching and sorting (n=40): time 0.07934/1.044, allocations: 30.61 MB / 1.445 GB, free: 11.28 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/1.044, allocations: 140.5 kB / 1.445 GB, free: 11.11 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/1.045, allocations: 469.7 kB / 1.445 GB, free: 10.65 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/1.045, allocations: 33.7 kB / 1.445 GB, free: 10.61 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/1.045, allocations: 312.2 kB / 1.446 GB, free: 10.3 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/1.045, allocations: 142.8 kB / 1.446 GB, free: 10.16 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.045, allocations: 106.2 kB / 1.446 GB, free: 10.05 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.045, allocations: 362.8 kB / 1.446 GB, free: 9.684 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/1.046, allocations: 177 kB / 1.446 GB, free: 9.512 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/1.046, allocations: 353.2 kB / 1.447 GB, free: 9.102 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008982/1.047, allocations: 0.5125 MB / 1.447 GB, free: 8.527 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.047, allocations: 0 / 1.447 GB, free: 8.527 MB / 1.17 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001699/1.049, allocations: 0.7052 MB / 1.448 GB, free: 7.812 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.049, allocations: 8 kB / 1.448 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.049, allocations: 4 kB / 1.448 GB, free: 7.801 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/1.049, allocations: 122 kB / 1.448 GB, free: 7.676 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/1.05, allocations: 111.8 kB / 1.448 GB, free: 7.566 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/1.053, allocations: 3.418 MB / 1.451 GB, free: 3.867 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/1.053, allocations: 28.11 kB / 1.452 GB, free: 3.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/1.053, allocations: 28 kB / 1.452 GB, free: 3.812 MB / 1.17 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.0002867/1.054, allocations: 194.2 kB / 1.452 GB, free: 3.613 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/1.054, allocations: 59.61 kB / 1.452 GB, free: 3.555 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/1.055, allocations: 0.6563 MB / 1.452 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.055, allocations: 8 kB / 1.452 GB, free: 2.863 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.055, allocations: 0 / 1.452 GB, free: 2.863 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.055, allocations: 0 / 1.452 GB, free: 2.863 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/1.057, allocations: 1.195 MB / 1.454 GB, free: 1.559 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.057, allocations: 4 kB / 1.454 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/1.058, allocations: 67.83 kB / 1.454 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/1.058, allocations: 77.28 kB / 1.454 GB, free: 1.41 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/1.058, allocations: 12 kB / 1.454 GB, free: 1.398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/1.06, allocations: 1.732 MB / 1.455 GB, free: 15.53 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.06, allocations: 7.938 kB / 1.455 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/1.061, allocations: 0.7244 MB / 1.456 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/1.061, allocations: 132.7 kB / 1.456 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/1.062, allocations: 8 kB / 1.456 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/1.062, allocations: 19.98 kB / 1.456 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.062, allocations: 39.91 kB / 1.456 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/1.062, allocations: 19.98 kB / 1.456 GB, free: 14.5 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004695/1.063, allocations: 362.8 kB / 1.457 GB, free: 14.14 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.063, allocations: 0 / 1.457 GB, free: 14.14 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001878/1.064, allocations: 0.5656 MB / 1.457 GB, free: 13.57 MB / 1.186 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.001946/1.066, allocations: 0.5543 MB / 1.458 GB, free: 13.01 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001537/1.068, allocations: 0.652 MB / 1.458 GB, free: 12.34 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.068, allocations: 0 / 1.458 GB, free: 12.34 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005903/1.069, allocations: 283.2 kB / 1.459 GB, free: 12.05 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.07, allocations: 309.6 kB / 1.459 GB, free: 11.76 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/1.072, allocations: 1.146 MB / 1.46 GB, free: 10.53 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/1.072, allocations: 0.8589 MB / 1.461 GB, free: 9.641 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004333/1.073, allocations: 107.2 kB / 1.461 GB, free: 9.543 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/1.073, allocations: 47.42 kB / 1.461 GB, free: 9.496 MB / 1.186 GB Notification: Performance of SimCode: time 1.032e-06/1.073, allocations: 0 / 1.461 GB, free: 9.496 MB / 1.186 GB Notification: Performance of Templates: time 0.03533/1.108, allocations: 23.11 MB / 1.484 GB, free: 2.605 MB / 1.201 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=480 -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/jenkins/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