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.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 196.9 kB / 16.53 MB, free: 6.672 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.735/2.735, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 59.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.607, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1898/0.7968, allocations: 163.2 MB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.8081, allocations: 8.13 MB / 1.185 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005258/0.8086, allocations: 19.94 kB / 1.185 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.8099, allocations: 345.8 kB / 1.185 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.8118, allocations: 0.7189 MB / 1.186 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004991/0.8168, allocations: 2.135 MB / 1.188 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.8185, allocations: 1.364 MB / 1.189 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006568/0.8191, allocations: 437.4 kB / 1.19 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.8224, allocations: 1.412 MB / 1.191 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.8231, allocations: 446.3 kB / 1.191 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-05/0.8232, allocations: 52 kB / 1.191 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006843/0.8301, allocations: 3.531 MB / 1.195 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.8303, allocations: 151.5 kB / 1.195 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.8308, allocations: 346.5 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.8345, allocations: 2.588 MB / 1.198 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8346, allocations: 0 / 1.198 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8346, allocations: 0 / 1.198 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.8346, allocations: 0 / 1.198 GB, free: 8.914 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.00215/0.8368, allocations: 1.021 MB / 1.199 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8368, allocations: 8.031 kB / 1.199 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.838, allocations: 131.2 kB / 1.199 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.8386, allocations: 421.5 kB / 1.199 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.8386, allocations: 37.31 kB / 1.199 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.111e-05/0.8387, allocations: 56 kB / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.84, allocations: 0.6624 MB / 1.2 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.84, allocations: 7.875 kB / 1.2 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.8401, allocations: 24 kB / 1.2 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.8401, allocations: 12 kB / 1.2 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.8412, allocations: 479.5 kB / 1.201 GB, free: 5.945 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.01708/0.8583, allocations: 6.475 MB / 1.207 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.8587, allocations: 156.4 kB / 1.207 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.8591, allocations: 117.3 kB / 1.207 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/0.8716, allocations: 3.822 MB / 1.211 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.8717, allocations: 38.8 kB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.8717, allocations: 0 / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.08968/0.9614, allocations: 30.36 MB / 1.241 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.9616, allocations: 136.5 kB / 1.241 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006067/0.9622, allocations: 469.7 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.9622, allocations: 33.7 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.9625, allocations: 303.5 kB / 1.242 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.9626, allocations: 138 kB / 1.242 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.9628, allocations: 106.1 kB / 1.242 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.963, allocations: 358.8 kB / 1.242 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.9634, allocations: 177 kB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.964, allocations: 353.2 kB / 1.243 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009945/0.965, allocations: 0.5186 MB / 1.243 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.965, allocations: 4 kB / 1.243 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001826/0.9669, allocations: 0.6895 MB / 1.244 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.9669, allocations: 11.28 kB / 1.244 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.9669, allocations: 4 kB / 1.244 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.9674, allocations: 126 kB / 1.244 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.9679, allocations: 115.9 kB / 1.244 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.9715, allocations: 3.413 MB / 1.247 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.9721, allocations: 23.98 kB / 1.247 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.9721, allocations: 24 kB / 1.247 GB, free: 5.078 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.0002993/0.9724, allocations: 197.7 kB / 1.248 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.9726, allocations: 63.27 kB / 1.248 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.9741, allocations: 0.6419 MB / 1.248 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9741, allocations: 0 / 1.248 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9742, allocations: 7.938 kB / 1.248 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9742, allocations: 4.031 kB / 1.248 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.9764, allocations: 1.21 MB / 1.249 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.9765, allocations: 11.98 kB / 1.249 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.9768, allocations: 59.91 kB / 1.25 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.9771, allocations: 72.8 kB / 1.25 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.9771, allocations: 12 kB / 1.25 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.979, allocations: 1.736 MB / 1.251 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.979, allocations: 11.92 kB / 1.251 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5317/1.511, allocations: 0.7112 MB / 1.252 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.511, allocations: 124.6 kB / 1.252 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/1.511, allocations: 14.72 kB / 1.252 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/1.512, allocations: 21.62 kB / 1.252 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.512, allocations: 37.2 kB / 1.252 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/1.512, allocations: 18.16 kB / 1.252 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005366/1.512, allocations: 360 kB / 1.253 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.512, allocations: 0.625 kB / 1.253 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001866/1.514, allocations: 0.5553 MB / 1.253 GB, free: 220.8 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.002051/1.516, allocations: 0.563 MB / 1.254 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001638/1.518, allocations: 0.6773 MB / 1.254 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.518, allocations: 1.5 kB / 1.254 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/1.519, allocations: 284.8 kB / 1.255 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.52, allocations: 310.5 kB / 1.255 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/1.522, allocations: 1.133 MB / 1.256 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/1.522, allocations: 0.8637 MB / 1.257 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005387/1.523, allocations: 111.7 kB / 1.257 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/1.523, allocations: 48.08 kB / 1.257 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/1.523, allocations: 4.219 kB / 1.257 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03805/1.561, allocations: 23.1 MB / 1.28 GB, free: 215.3 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/jenkins/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