Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.002108/0.002108, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.002389/0.002389, allocations: 192.1 kB / 17.31 MB, free: 5.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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.42/2.42, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 75.8 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2863, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.6525/0.9389, allocations: 163.2 MB / 1.186 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.9502, allocations: 8.133 MB / 1.194 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007904/0.9511, allocations: 20.72 kB / 1.194 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.9522, allocations: 341.4 kB / 1.194 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.9541, allocations: 0.7151 MB / 1.195 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.9599, allocations: 2.136 MB / 1.197 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.9617, allocations: 1.364 MB / 1.199 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.9623, allocations: 450.1 kB / 1.199 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003235/0.9656, allocations: 1.419 MB / 1.2 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.9662, allocations: 435.3 kB / 1.201 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.9662, allocations: 50.22 kB / 1.201 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006327/0.9726, allocations: 3.629 MB / 1.204 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.9728, allocations: 152 kB / 1.205 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.9732, allocations: 342.3 kB / 1.205 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003631/0.9768, allocations: 2.591 MB / 1.207 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.9768, allocations: 0 / 1.207 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9769, allocations: 6.312 kB / 1.207 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.9769, allocations: 3.938 kB / 1.207 GB, free: 1.797 MB / 0.9044 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.001972/0.9788, allocations: 1.012 MB / 1.208 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9789, allocations: 9.406 kB / 1.208 GB, free: 1.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.98, allocations: 144.4 kB / 1.209 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.9807, allocations: 429.4 kB / 1.209 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.9808, allocations: 36.94 kB / 1.209 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.9808, allocations: 53.31 kB / 1.209 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.9819, allocations: 0.6466 MB / 1.21 GB, free: 84 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.9819, allocations: 7.922 kB / 1.21 GB, free: 76 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.982, allocations: 29.59 kB / 1.21 GB, free: 56 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.982, allocations: 16.91 kB / 1.21 GB, free: 52 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009112/0.9829, allocations: 468.8 kB / 1.21 GB, free: 15.83 MB / 0.92 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.0151/0.998, allocations: 6.481 MB / 1.216 GB, free: 10.61 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.9985, allocations: 167.1 kB / 1.217 GB, free: 10.44 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.9988, allocations: 122 kB / 1.217 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/1.01, allocations: 3.853 MB / 1.221 GB, free: 6.312 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/1.01, allocations: 39.67 kB / 1.221 GB, free: 6.266 MB / 0.92 GB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/1.01, allocations: 3.938 kB / 1.221 GB, free: 6.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.07928/1.089, allocations: 30.64 MB / 1.25 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/1.089, allocations: 140.4 kB / 1.251 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/1.09, allocations: 457.8 kB / 1.251 GB, free: 7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/1.09, allocations: 33.7 kB / 1.251 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/1.09, allocations: 311.4 kB / 1.251 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.09, allocations: 141.9 kB / 1.252 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.09, allocations: 102.2 kB / 1.252 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.091, allocations: 358.8 kB / 1.252 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/1.091, allocations: 181 kB / 1.252 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/1.092, allocations: 353.2 kB / 1.252 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/1.093, allocations: 0.5235 MB / 1.253 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.093, allocations: 0 / 1.253 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001773/1.094, allocations: 0.6914 MB / 1.254 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.094, allocations: 11.94 kB / 1.254 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.094, allocations: 4 kB / 1.254 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/1.095, allocations: 120.1 kB / 1.254 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/1.095, allocations: 120.1 kB / 1.254 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/1.099, allocations: 3.403 MB / 1.257 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/1.099, allocations: 28.61 kB / 1.257 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/1.099, allocations: 32.08 kB / 1.257 GB, free: 180 kB / 0.9512 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.0003042/1.1, allocations: 189.8 kB / 1.257 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/1.1, allocations: 59.28 kB / 1.257 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/1.101, allocations: 0.6446 MB / 1.258 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.101, allocations: 7.938 kB / 1.258 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/1.101, allocations: 3.938 kB / 1.258 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.101, allocations: 8.109 kB / 1.258 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/1.103, allocations: 1.205 MB / 1.259 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.104, allocations: 4 kB / 1.259 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/1.104, allocations: 67.89 kB / 1.259 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/1.104, allocations: 64.81 kB / 1.259 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.104, allocations: 12.31 kB / 1.259 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.106, allocations: 1.74 MB / 1.261 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.106, allocations: 8 kB / 1.261 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.107, allocations: 0.7245 MB / 1.262 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/1.107, allocations: 124.5 kB / 1.262 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/1.107, allocations: 16.05 kB / 1.262 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/1.108, allocations: 19.98 kB / 1.262 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/1.108, allocations: 39.84 kB / 1.262 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/1.108, allocations: 12 kB / 1.262 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004418/1.108, allocations: 358.8 kB / 1.262 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/1.108, allocations: 4 kB / 1.262 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001712/1.11, allocations: 0.5584 MB / 1.263 GB, free: 9.949 MB / 0.9669 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.001837/1.112, allocations: 0.5689 MB / 1.264 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001385/1.113, allocations: 0.6739 MB / 1.264 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.113, allocations: 4 kB / 1.264 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005738/1.114, allocations: 283.1 kB / 1.264 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/1.115, allocations: 308.7 kB / 1.265 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/1.117, allocations: 1.116 MB / 1.266 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/1.118, allocations: 0.8667 MB / 1.267 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003928/1.118, allocations: 115 kB / 1.267 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.118, allocations: 43.44 kB / 1.267 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/1.118, allocations: 0 / 1.267 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of Templates: time 0.03255/1.151, allocations: 23.08 MB / 1.289 GB, free: 15.04 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches