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.01097/0.01097, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.002445/0.002445, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.8747/1.193, allocations: 163.2 MB / 1.367 GB, free: 4.227 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02126/1.215, allocations: 8.129 MB / 1.375 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/1.216, allocations: 15.03 kB / 1.375 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/1.219, allocations: 356.2 kB / 1.375 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004481/1.223, allocations: 0.7448 MB / 1.376 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01144/1.235, allocations: 2.148 MB / 1.378 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003335/1.238, allocations: 1.37 MB / 1.38 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/1.239, allocations: 434.2 kB / 1.38 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006897/1.246, allocations: 1.455 MB / 1.381 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/1.248, allocations: 447.1 kB / 1.382 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002855/1.248, allocations: 51.28 kB / 1.382 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01606/1.264, allocations: 3.625 MB / 1.385 GB, free: 8.148 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005084/1.265, allocations: 147.9 kB / 1.386 GB, free: 8.035 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/1.266, allocations: 349.8 kB / 1.386 GB, free: 7.824 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009529/1.276, allocations: 2.564 MB / 1.388 GB, free: 6.145 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/1.276, allocations: 0 / 1.388 GB, free: 6.145 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.306e-06/1.276, allocations: 0 / 1.388 GB, free: 6.145 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.482e-05/1.276, allocations: 1.188 kB / 1.388 GB, free: 6.145 MB / 1.076 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.004952/1.281, allocations: 1.02 MB / 1.389 GB, free: 5.359 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.281, allocations: 10.38 kB / 1.389 GB, free: 5.359 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/1.283, allocations: 134.6 kB / 1.39 GB, free: 5.297 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.284, allocations: 432.7 kB / 1.39 GB, free: 4.914 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/1.284, allocations: 44.19 kB / 1.39 GB, free: 4.891 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/1.285, allocations: 49 kB / 1.39 GB, free: 4.875 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/1.287, allocations: 0.6615 MB / 1.391 GB, free: 4.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/1.287, allocations: 9.219 kB / 1.391 GB, free: 4.402 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.35e-05/1.287, allocations: 23.56 kB / 1.391 GB, free: 4.387 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/1.287, allocations: 14.28 kB / 1.391 GB, free: 4.387 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/1.288, allocations: 472.3 kB / 1.391 GB, free: 4.164 MB / 1.076 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.0166/1.305, allocations: 6.474 MB / 1.397 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/1.305, allocations: 167.6 kB / 1.398 GB, free: 15.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/1.305, allocations: 122.5 kB / 1.398 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.316, allocations: 3.856 MB / 1.402 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.316, allocations: 37.64 kB / 1.402 GB, free: 13.63 MB / 1.092 GB Notification: Performance of pre-optimization done (n=27): time 3.747e-06/1.316, allocations: 3.984 kB / 1.402 GB, free: 13.63 MB / 1.092 GB Notification: Performance of matching and sorting (n=40): time 0.07658/1.393, allocations: 30.6 MB / 1.431 GB, free: 1.148 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.983e-05/1.393, allocations: 144.4 kB / 1.432 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/1.394, allocations: 461.7 kB / 1.432 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/1.394, allocations: 29.7 kB / 1.432 GB, free: 496 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/1.394, allocations: 307.5 kB / 1.432 GB, free: 180 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/1.394, allocations: 141.9 kB / 1.432 GB, free: 36 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/1.395, allocations: 106.1 kB / 1.433 GB, free: 15.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002478/1.395, allocations: 358.8 kB / 1.433 GB, free: 15.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/1.395, allocations: 189.7 kB / 1.433 GB, free: 15.38 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/1.396, allocations: 349.2 kB / 1.433 GB, free: 14.97 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009409/1.397, allocations: 0.5277 MB / 1.434 GB, free: 14.38 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.397, allocations: 4 kB / 1.434 GB, free: 14.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001953/1.399, allocations: 0.6898 MB / 1.435 GB, free: 13.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.399, allocations: 8.062 kB / 1.435 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.399, allocations: 8 kB / 1.435 GB, free: 13.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005266/1.4, allocations: 115.2 kB / 1.435 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/1.4, allocations: 115.8 kB / 1.435 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/1.404, allocations: 3.411 MB / 1.438 GB, free: 9.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007925/1.405, allocations: 31.97 kB / 1.438 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/1.405, allocations: 23.98 kB / 1.438 GB, free: 9.695 MB / 1.123 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.0004078/1.405, allocations: 193.7 kB / 1.438 GB, free: 9.496 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.406, allocations: 59.38 kB / 1.438 GB, free: 9.438 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/1.407, allocations: 0.6463 MB / 1.439 GB, free: 8.762 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.407, allocations: 7.938 kB / 1.439 GB, free: 8.754 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.407, allocations: 0 / 1.439 GB, free: 8.754 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.407, allocations: 3.984 kB / 1.439 GB, free: 8.75 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/1.41, allocations: 1.199 MB / 1.44 GB, free: 7.441 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.41, allocations: 8.031 kB / 1.44 GB, free: 7.434 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/1.41, allocations: 63.89 kB / 1.44 GB, free: 7.371 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/1.411, allocations: 64.81 kB / 1.44 GB, free: 7.305 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/1.411, allocations: 12 kB / 1.44 GB, free: 7.293 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.413, allocations: 1.74 MB / 1.442 GB, free: 5.414 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/1.413, allocations: 7.938 kB / 1.442 GB, free: 5.406 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/1.415, allocations: 0.7207 MB / 1.443 GB, free: 4.617 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/1.415, allocations: 124.5 kB / 1.443 GB, free: 4.477 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.415, allocations: 20.75 kB / 1.443 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/1.415, allocations: 19.98 kB / 1.443 GB, free: 4.438 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-05/1.415, allocations: 39.95 kB / 1.443 GB, free: 4.398 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/1.415, allocations: 16 kB / 1.443 GB, free: 4.383 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004543/1.416, allocations: 354.8 kB / 1.443 GB, free: 4.035 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.416, allocations: 7.875 kB / 1.443 GB, free: 4.027 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002945/1.419, allocations: 0.5623 MB / 1.444 GB, free: 3.465 MB / 1.123 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.003491/1.422, allocations: 0.5615 MB / 1.445 GB, free: 2.906 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.424, allocations: 0.6659 MB / 1.445 GB, free: 2.215 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.424, allocations: 4 kB / 1.445 GB, free: 2.211 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.425, allocations: 282.4 kB / 1.445 GB, free: 1.922 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/1.426, allocations: 304 kB / 1.446 GB, free: 1.629 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/1.429, allocations: 1.137 MB / 1.447 GB, free: 436 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/1.429, allocations: 0.8628 MB / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004804/1.43, allocations: 114.2 kB / 1.448 GB, free: 15.43 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.43, allocations: 47.42 kB / 1.448 GB, free: 15.38 MB / 1.139 GB Notification: Performance of SimCode: time 7.81e-07/1.43, allocations: 0 / 1.448 GB, free: 15.38 MB / 1.139 GB Notification: Performance of Templates: time 0.03685/1.467, allocations: 23.04 MB / 1.47 GB, free: 8.555 MB / 1.154 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