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.00152/0.00152, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001805/0.001805, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.8 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 63.44 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3164, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1748/0.4913, allocations: 161.1 MB / 1.209 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.5041, allocations: 8.837 MB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009569/0.5051, allocations: 19.88 kB / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.5066, allocations: 294.4 kB / 1.218 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.509, allocations: 0.6453 MB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005662/0.5147, allocations: 1.758 MB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.5169, allocations: 1.789 MB / 1.223 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.5177, allocations: 377.1 kB / 1.223 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/0.5211, allocations: 1.288 MB / 1.224 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008827/0.522, allocations: 450.1 kB / 1.225 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.5222, allocations: 32 kB / 1.225 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007072/0.5292, allocations: 3.527 MB / 1.228 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.5295, allocations: 131.5 kB / 1.228 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.5302, allocations: 322.5 kB / 1.228 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.5346, allocations: 2.537 MB / 1.231 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5346, allocations: 0 / 1.231 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5346, allocations: 0 / 1.231 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.5347, allocations: 0 / 1.231 GB, free: 1.086 MB / 0.9825 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.002224/0.5369, allocations: 1.021 MB / 1.232 GB, free: 16 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.5369, allocations: 12.03 kB / 1.232 GB, free: 4 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.5382, allocations: 139.1 kB / 1.232 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.5388, allocations: 413.6 kB / 1.232 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.5388, allocations: 41.31 kB / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.5389, allocations: 56 kB / 1.233 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5401, allocations: 0.6564 MB / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5402, allocations: 3.984 kB / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.5402, allocations: 24 kB / 1.233 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.5402, allocations: 15.98 kB / 1.233 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.5413, allocations: 471.5 kB / 1.234 GB, free: 14.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.01563/0.557, allocations: 6.471 MB / 1.24 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.5575, allocations: 167.1 kB / 1.24 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.5578, allocations: 121.3 kB / 1.24 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.569, allocations: 3.802 MB / 1.244 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.5691, allocations: 42.8 kB / 1.244 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.765e-06/0.5691, allocations: 0 / 1.244 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.5815/1.151, allocations: 30.34 MB / 1.274 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/1.151, allocations: 134.2 kB / 1.274 GB, free: 192 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/1.151, allocations: 465.8 kB / 1.274 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/1.151, allocations: 33.11 kB / 1.274 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/1.151, allocations: 314.1 kB / 1.275 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/1.152, allocations: 136.4 kB / 1.275 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/1.152, allocations: 105.8 kB / 1.275 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/1.152, allocations: 356.1 kB / 1.275 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/1.152, allocations: 179.1 kB / 1.275 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/1.153, allocations: 356.4 kB / 1.276 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/1.153, allocations: 0.5222 MB / 1.276 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.153, allocations: 7.938 kB / 1.276 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001492/1.155, allocations: 0.6939 MB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.155, allocations: 8.062 kB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.155, allocations: 3.969 kB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/1.155, allocations: 121.7 kB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/1.156, allocations: 113.8 kB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.158, allocations: 3.059 MB / 1.28 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/1.159, allocations: 50.62 kB / 1.28 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/1.159, allocations: 32.41 kB / 1.28 GB, free: 188.1 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.0002325/1.159, allocations: 197.5 kB / 1.28 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/1.159, allocations: 51.44 kB / 1.28 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/1.16, allocations: 0.6479 MB / 1.281 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.161, allocations: 8 kB / 1.281 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.161, allocations: 0 / 1.281 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.161, allocations: 3.984 kB / 1.281 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/1.162, allocations: 1.197 MB / 1.282 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.162, allocations: 4 kB / 1.282 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/1.163, allocations: 71.77 kB / 1.282 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/1.163, allocations: 68.12 kB / 1.282 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/1.163, allocations: 11.88 kB / 1.282 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/1.164, allocations: 1.563 MB / 1.284 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.164, allocations: 7.938 kB / 1.284 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/1.165, allocations: 0.7233 MB / 1.285 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/1.166, allocations: 128.2 kB / 1.285 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/1.166, allocations: 7.75 kB / 1.285 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/1.166, allocations: 31.52 kB / 1.285 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/1.166, allocations: 39.52 kB / 1.285 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/1.166, allocations: 20.44 kB / 1.285 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003359/1.166, allocations: 353.9 kB / 1.285 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3e-07/1.166, allocations: 0 / 1.285 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00156/1.168, allocations: 0.5588 MB / 1.286 GB, free: 183 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.001834/1.17, allocations: 0.5628 MB / 1.286 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001309/1.171, allocations: 0.6538 MB / 1.287 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.171, allocations: 0 / 1.287 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/1.172, allocations: 285.2 kB / 1.287 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/1.173, allocations: 305.6 kB / 1.287 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.175, allocations: 1.329 MB / 1.289 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/1.175, allocations: 0.8703 MB / 1.29 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004435/1.175, allocations: 109.8 kB / 1.29 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.175, allocations: 47.42 kB / 1.29 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/1.175, allocations: 0 / 1.29 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0252/1.201, allocations: 22.4 MB / 1.312 GB, free: 157 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