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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001756/0.001756, allocations: 108 kB / 15.6 MB, free: 132 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.001872/0.001872, allocations: 191.8 kB / 16.53 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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 472.7 MB / 0.7451 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 76.31 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3085, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1804/0.489, allocations: 163.2 MB / 1.228 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01131/0.5003, allocations: 8.123 MB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.5012, allocations: 19.88 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.5024, allocations: 337.8 kB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.5045, allocations: 0.7189 MB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.51, allocations: 2.132 MB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001894/0.5119, allocations: 1.368 MB / 1.24 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.5127, allocations: 441.4 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.5163, allocations: 1.416 MB / 1.242 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.5172, allocations: 446.2 kB / 1.242 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.5174, allocations: 52 kB / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007685/0.5251, allocations: 3.523 MB / 1.246 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.5254, allocations: 151.5 kB / 1.246 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007494/0.5262, allocations: 354.5 kB / 1.246 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005785/0.532, allocations: 2.549 MB / 1.249 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5321, allocations: 0 / 1.249 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.058e-06/0.5321, allocations: 4 kB / 1.249 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.945e-05/0.5321, allocations: 0 / 1.249 GB, free: 0.8867 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.5606/1.093, allocations: 1.021 MB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.093, allocations: 9.281 kB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/1.094, allocations: 137.4 kB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/1.095, allocations: 416.5 kB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/1.095, allocations: 39.59 kB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/1.095, allocations: 52.31 kB / 1.25 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/1.096, allocations: 0.6611 MB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/1.096, allocations: 1.344 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/1.097, allocations: 24.91 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/1.097, allocations: 15.3 kB / 1.251 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/1.098, allocations: 471.1 kB / 1.251 GB, free: 185 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.01619/1.114, allocations: 6.476 MB / 1.258 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/1.114, allocations: 164.2 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/1.114, allocations: 119.3 kB / 1.258 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/1.126, allocations: 3.813 MB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.126, allocations: 39.16 kB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 3.106e-06/1.126, allocations: 0 / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.08641/1.213, allocations: 30.34 MB / 1.291 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/1.213, allocations: 136.5 kB / 1.292 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/1.213, allocations: 464.4 kB / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/1.213, allocations: 29.52 kB / 1.292 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/1.214, allocations: 302.7 kB / 1.292 GB, free: 170 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/1.214, allocations: 148.4 kB / 1.292 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/1.214, allocations: 100.5 kB / 1.293 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/1.214, allocations: 360 kB / 1.293 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/1.214, allocations: 183.3 kB / 1.293 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/1.215, allocations: 351.5 kB / 1.293 GB, free: 169 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/1.215, allocations: 0.5264 MB / 1.294 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.215, allocations: 0 / 1.294 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001529/1.217, allocations: 0.6989 MB / 1.295 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.217, allocations: 8 kB / 1.295 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.217, allocations: 9.25 kB / 1.295 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004751/1.217, allocations: 122 kB / 1.295 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/1.218, allocations: 116.9 kB / 1.295 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/1.22, allocations: 3.403 MB / 1.298 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/1.221, allocations: 29.92 kB / 1.298 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/1.221, allocations: 23.98 kB / 1.298 GB, free: 163.9 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.000264/1.221, allocations: 200 kB / 1.298 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/1.221, allocations: 63.36 kB / 1.298 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/1.223, allocations: 0.6512 MB / 1.299 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.223, allocations: 4 kB / 1.299 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.223, allocations: 0 / 1.299 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/1.223, allocations: 7.922 kB / 1.299 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/1.225, allocations: 1.201 MB / 1.3 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.225, allocations: 4 kB / 1.3 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/1.225, allocations: 67.89 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/1.225, allocations: 64.81 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/1.225, allocations: 12.25 kB / 1.3 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/1.227, allocations: 1.746 MB / 1.302 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/1.227, allocations: 7.938 kB / 1.302 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/1.228, allocations: 0.7166 MB / 1.303 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.228, allocations: 128.5 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/1.228, allocations: 12 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/1.229, allocations: 25.09 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/1.229, allocations: 31.84 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/1.229, allocations: 20.06 kB / 1.303 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000345/1.229, allocations: 358.8 kB / 1.303 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.229, allocations: 0 / 1.303 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001613/1.231, allocations: 0.5623 MB / 1.304 GB, free: 157.7 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.002034/1.233, allocations: 0.5681 MB / 1.305 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001545/1.234, allocations: 0.6701 MB / 1.305 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.234, allocations: 3.609 kB / 1.305 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/1.235, allocations: 295.5 kB / 1.305 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.236, allocations: 299.7 kB / 1.306 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/1.238, allocations: 1.128 MB / 1.307 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/1.238, allocations: 0.8667 MB / 1.308 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004863/1.239, allocations: 120.4 kB / 1.308 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/1.239, allocations: 47.44 kB / 1.308 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.02e-07/1.239, allocations: 0 / 1.308 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02908/1.268, allocations: 22.97 MB / 1.33 GB, free: 130.9 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