Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001783/0.001782, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01562/0.01562, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.54/1.54, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.023/3.023, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003926, allocations: 8.906 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3254, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1816/0.5071, allocations: 159 MB / 1.214 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.519, allocations: 8.74 MB / 1.223 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008007/0.5198, allocations: 15.88 kB / 1.223 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.521, allocations: 290.5 kB / 1.223 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.5233, allocations: 0.6531 MB / 1.223 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.5281, allocations: 1.761 MB / 1.225 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002055/0.5301, allocations: 1.793 MB / 1.227 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.5307, allocations: 364.6 kB / 1.227 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.5338, allocations: 1.28 MB / 1.229 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.5344, allocations: 438.2 kB / 1.229 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.5344, allocations: 27.94 kB / 1.229 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006115/0.5406, allocations: 3.527 MB / 1.232 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.5408, allocations: 123.5 kB / 1.233 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.5412, allocations: 340.1 kB / 1.233 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.5451, allocations: 2.513 MB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5451, allocations: 0 / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5452, allocations: 0 / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.865e-05/0.5452, allocations: 4 kB / 1.235 GB, free: 15.98 MB / 0.9981 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.002244/0.5475, allocations: 0.9044 MB / 1.236 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5475, allocations: 12.03 kB / 1.236 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.5487, allocations: 143.1 kB / 1.236 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007156/0.5494, allocations: 405.7 kB / 1.237 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.5495, allocations: 37.31 kB / 1.237 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5496, allocations: 55.89 kB / 1.237 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.551, allocations: 0.6721 MB / 1.237 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.551, allocations: 0 / 1.237 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.5511, allocations: 24 kB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5511, allocations: 12 kB / 1.238 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5522, allocations: 487.5 kB / 1.238 GB, free: 13.12 MB / 0.9981 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.01631/0.5685, allocations: 6.511 MB / 1.244 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.569, allocations: 167.2 kB / 1.244 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.5694, allocations: 130 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.5809, allocations: 3.861 MB / 1.248 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.581, allocations: 42.73 kB / 1.248 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 3.317e-06/0.581, allocations: 4 kB / 1.248 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.7084/1.289, allocations: 29.12 MB / 1.277 GB, free: 23.26 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.289, allocations: 134.2 kB / 1.277 GB, free: 23.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/1.29, allocations: 458.4 kB / 1.277 GB, free: 23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/1.29, allocations: 31.02 kB / 1.277 GB, free: 22.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/1.29, allocations: 313.9 kB / 1.278 GB, free: 22.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/1.29, allocations: 145 kB / 1.278 GB, free: 22.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/1.29, allocations: 43.61 kB / 1.278 GB, free: 22.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/1.29, allocations: 364.7 kB / 1.278 GB, free: 22.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/1.291, allocations: 181.8 kB / 1.278 GB, free: 22.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/1.291, allocations: 360.9 kB / 1.279 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/1.292, allocations: 0.5295 MB / 1.279 GB, free: 22.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.292, allocations: 0 / 1.279 GB, free: 22.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001553/1.294, allocations: 0.7082 MB / 1.28 GB, free: 21.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.294, allocations: 9 kB / 1.28 GB, free: 21.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.294, allocations: 6.094 kB / 1.28 GB, free: 21.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/1.294, allocations: 117.7 kB / 1.28 GB, free: 21.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/1.295, allocations: 116.4 kB / 1.28 GB, free: 21.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/1.297, allocations: 3.067 MB / 1.283 GB, free: 19.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/1.297, allocations: 45.48 kB / 1.283 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/1.297, allocations: 26.36 kB / 1.283 GB, free: 19.23 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.0002364/1.298, allocations: 199.4 kB / 1.284 GB, free: 19.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.298, allocations: 51.75 kB / 1.284 GB, free: 19.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/1.299, allocations: 0.6679 MB / 1.284 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.299, allocations: 5.844 kB / 1.284 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.299, allocations: 0 / 1.284 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/1.299, allocations: 3.188 kB / 1.284 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.301, allocations: 1.213 MB / 1.285 GB, free: 18.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/1.301, allocations: 2.938 kB / 1.285 GB, free: 18.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/1.301, allocations: 73.42 kB / 1.285 GB, free: 18.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/1.302, allocations: 65.47 kB / 1.286 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.302, allocations: 10.31 kB / 1.286 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/1.303, allocations: 1.57 MB / 1.287 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.303, allocations: 5.812 kB / 1.287 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.304, allocations: 0.7407 MB / 1.288 GB, free: 16.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.304, allocations: 145.6 kB / 1.288 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/1.304, allocations: 16.12 kB / 1.288 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/1.305, allocations: 32.12 kB / 1.288 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/1.305, allocations: 38.41 kB / 1.288 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/1.305, allocations: 18.75 kB / 1.288 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000367/1.305, allocations: 362.8 kB / 1.288 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.305, allocations: 0 / 1.288 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001879/1.307, allocations: 0.5533 MB / 1.289 GB, free: 16.61 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.001927/1.309, allocations: 0.56 MB / 1.289 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001352/1.31, allocations: 0.6708 MB / 1.29 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.311, allocations: 0 / 1.29 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004754/1.311, allocations: 282.8 kB / 1.29 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/1.313, allocations: 306 kB / 1.291 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/1.314, allocations: 1.407 MB / 1.292 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/1.315, allocations: 0.8624 MB / 1.293 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004768/1.315, allocations: 113.6 kB / 1.293 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/1.315, allocations: 52.83 kB / 1.293 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of SimCode: time 4.8e-07/1.315, allocations: 2.156 kB / 1.293 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.03155/1.347, allocations: 22.32 MB / 1.315 GB, free: 10.21 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches