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.0008103/0.0008105, allocations: 99.03 kB / 16.02 MB, free: 72 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.0009416/0.0009418, allocations: 181 kB / 16.92 MB, free: 6.918 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.599/2.599, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 12.98 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1669/0.4763, allocations: 159.1 MB / 1.215 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.4871, allocations: 8.763 MB / 1.223 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.4878, allocations: 11.94 kB / 1.223 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000965/0.4888, allocations: 282.4 kB / 1.224 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.4906, allocations: 0.6531 MB / 1.224 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.495, allocations: 1.759 MB / 1.226 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.497, allocations: 1.789 MB / 1.228 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.4976, allocations: 368.6 kB / 1.228 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.5005, allocations: 1.272 MB / 1.229 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.5011, allocations: 442.1 kB / 1.23 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.5012, allocations: 28 kB / 1.23 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006378/0.5076, allocations: 3.523 MB / 1.233 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.5079, allocations: 123.4 kB / 1.233 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.5084, allocations: 348.1 kB / 1.234 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.5107, allocations: 1.801 MB / 1.235 GB, free: 112 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5108, allocations: 4 kB / 1.235 GB, free: 108 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5108, allocations: 0 / 1.235 GB, free: 108 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5108, allocations: 0 / 1.235 GB, free: 108 kB / 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.001948/0.5127, allocations: 0.9044 MB / 1.236 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5128, allocations: 12.03 kB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.5139, allocations: 135.2 kB / 1.236 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.5144, allocations: 409.7 kB / 1.237 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.5145, allocations: 37.31 kB / 1.237 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.5146, allocations: 55.91 kB / 1.237 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.5157, allocations: 0.672 MB / 1.237 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5157, allocations: 0 / 1.237 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.5158, allocations: 24 kB / 1.237 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.5158, allocations: 16 kB / 1.238 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009744/0.5168, allocations: 487.5 kB / 1.238 GB, free: 13.24 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.01542/0.5322, allocations: 6.514 MB / 1.244 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.5327, allocations: 167.2 kB / 1.244 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.533, allocations: 129.3 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.5445, allocations: 3.857 MB / 1.248 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.5446, allocations: 42.73 kB / 1.248 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.245e-06/0.5447, allocations: 0 / 1.248 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.6869/1.232, allocations: 29.15 MB / 1.277 GB, free: 22.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.232, allocations: 131.5 kB / 1.277 GB, free: 22.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/1.232, allocations: 457.2 kB / 1.277 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/1.232, allocations: 43.45 kB / 1.277 GB, free: 21.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.232, allocations: 308.2 kB / 1.278 GB, free: 21.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/1.232, allocations: 141.7 kB / 1.278 GB, free: 21.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/1.232, allocations: 46.88 kB / 1.278 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.838e-05/1.233, allocations: 363.5 kB / 1.278 GB, free: 21.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/1.233, allocations: 185 kB / 1.278 GB, free: 21.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/1.233, allocations: 351 kB / 1.279 GB, free: 21.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/1.234, allocations: 0.5306 MB / 1.279 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.234, allocations: 0 / 1.279 GB, free: 20.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00152/1.236, allocations: 0.7104 MB / 1.28 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.236, allocations: 10.69 kB / 1.28 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.236, allocations: 3.562 kB / 1.28 GB, free: 20.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/1.236, allocations: 122 kB / 1.28 GB, free: 20.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/1.237, allocations: 121.3 kB / 1.28 GB, free: 20.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.239, allocations: 3.061 MB / 1.283 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/1.24, allocations: 49.56 kB / 1.283 GB, free: 18.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.24, allocations: 28.59 kB / 1.283 GB, free: 18.2 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.0002422/1.24, allocations: 200.4 kB / 1.284 GB, free: 18.08 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.24, allocations: 49.66 kB / 1.284 GB, free: 18.06 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.241, allocations: 0.6642 MB / 1.284 GB, free: 17.92 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.241, allocations: 4.688 kB / 1.284 GB, free: 17.92 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.241, allocations: 3.906 kB / 1.284 GB, free: 17.92 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.241, allocations: 2.953 kB / 1.284 GB, free: 17.92 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.243, allocations: 1.214 MB / 1.285 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.243, allocations: 5.188 kB / 1.285 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/1.244, allocations: 70.56 kB / 1.285 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002376/1.244, allocations: 66.64 kB / 1.286 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.244, allocations: 19.34 kB / 1.286 GB, free: 17.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/1.245, allocations: 1.567 MB / 1.287 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.245, allocations: 8.781 kB / 1.287 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.246, allocations: 0.7394 MB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.246, allocations: 146 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/1.246, allocations: 18.16 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/1.247, allocations: 28.55 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/1.247, allocations: 35.5 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/1.247, allocations: 21.44 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003482/1.247, allocations: 355.8 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.247, allocations: 0 / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00164/1.249, allocations: 0.5602 MB / 1.289 GB, free: 15.57 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.001831/1.251, allocations: 0.57 MB / 1.29 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001308/1.252, allocations: 0.6694 MB / 1.29 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.252, allocations: 2.125 kB / 1.29 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/1.253, allocations: 283.8 kB / 1.29 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/1.254, allocations: 297.7 kB / 1.291 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/1.256, allocations: 1.437 MB / 1.292 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/1.256, allocations: 0.8587 MB / 1.293 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/1.256, allocations: 57.8 kB / 1.293 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.256, allocations: 0 / 1.293 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.02483/1.281, allocations: 19.73 MB / 1.312 GB, free: 10.47 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 -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