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.00603/0.00603, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001254/0.001255, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.602 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: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 62.08 kB / 0.8991 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2761, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1764/0.4525, allocations: 161.2 MB / 1.21 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01166/0.4642, allocations: 8.844 MB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.4649, allocations: 19.88 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.466, allocations: 282.5 kB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.4679, allocations: 0.6493 MB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.4722, allocations: 1.766 MB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.4741, allocations: 1.793 MB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007178/0.4748, allocations: 361.2 kB / 1.224 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.478, allocations: 1.291 MB / 1.225 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008271/0.4789, allocations: 450.2 kB / 1.225 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.479, allocations: 36 kB / 1.225 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006795/0.4858, allocations: 3.531 MB / 1.229 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.4861, allocations: 135.4 kB / 1.229 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006309/0.4868, allocations: 326.5 kB / 1.229 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002796/0.4896, allocations: 1.813 MB / 1.231 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4896, allocations: 4 kB / 1.231 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4896, allocations: 0 / 1.231 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.4897, allocations: 0 / 1.231 GB, free: 1.141 MB / 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.002397/0.4921, allocations: 1.025 MB / 1.232 GB, free: 68 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.4921, allocations: 11.97 kB / 1.232 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.4933, allocations: 139.1 kB / 1.232 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.4939, allocations: 413.7 kB / 1.232 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.4939, allocations: 41.31 kB / 1.233 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.494, allocations: 52 kB / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4952, allocations: 0.6603 MB / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.4952, allocations: 0 / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.4953, allocations: 28 kB / 1.233 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4953, allocations: 12 kB / 1.233 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.4964, allocations: 471.5 kB / 1.234 GB, free: 14.17 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.01517/0.5115, allocations: 6.463 MB / 1.24 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.512, allocations: 163.1 kB / 1.24 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.5124, allocations: 121.3 kB / 1.24 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.5231, allocations: 3.814 MB / 1.244 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.5232, allocations: 42.8 kB / 1.244 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.445e-06/0.5232, allocations: 0 / 1.244 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.6107/1.134, allocations: 30.35 MB / 1.274 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.134, allocations: 137.6 kB / 1.274 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/1.134, allocations: 459.4 kB / 1.274 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/1.134, allocations: 39.64 kB / 1.274 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/1.135, allocations: 313.1 kB / 1.275 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/1.135, allocations: 135.1 kB / 1.275 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.135, allocations: 106.2 kB / 1.275 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.049e-05/1.135, allocations: 362.3 kB / 1.275 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/1.135, allocations: 177.1 kB / 1.275 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/1.136, allocations: 358.9 kB / 1.276 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/1.137, allocations: 0.5239 MB / 1.276 GB, free: 190 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.137, allocations: 0 / 1.276 GB, free: 190 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001454/1.138, allocations: 0.6979 MB / 1.277 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.138, allocations: 9.344 kB / 1.277 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.138, allocations: 4.312 kB / 1.277 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004438/1.138, allocations: 117.4 kB / 1.277 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/1.139, allocations: 122.1 kB / 1.277 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/1.141, allocations: 3.062 MB / 1.28 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/1.142, allocations: 50.28 kB / 1.28 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/1.142, allocations: 20.47 kB / 1.28 GB, free: 187.1 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.0002185/1.142, allocations: 199.7 kB / 1.28 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/1.142, allocations: 53.47 kB / 1.28 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.143, allocations: 0.6458 MB / 1.281 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.143, allocations: 5.188 kB / 1.281 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/1.143, allocations: 4 kB / 1.281 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.143, allocations: 0 / 1.281 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/1.145, allocations: 1.202 MB / 1.282 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.145, allocations: 4 kB / 1.282 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/1.145, allocations: 70.77 kB / 1.282 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/1.146, allocations: 72.45 kB / 1.282 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.146, allocations: 11.86 kB / 1.282 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/1.147, allocations: 1.567 MB / 1.284 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.147, allocations: 4 kB / 1.284 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/1.148, allocations: 0.7237 MB / 1.285 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/1.148, allocations: 131.9 kB / 1.285 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/1.148, allocations: 12.69 kB / 1.285 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/1.149, allocations: 31.44 kB / 1.285 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/1.149, allocations: 35.34 kB / 1.285 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/1.149, allocations: 15.88 kB / 1.285 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003421/1.149, allocations: 360.8 kB / 1.285 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.149, allocations: 0 / 1.285 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001552/1.151, allocations: 0.5598 MB / 1.286 GB, free: 182.3 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.001828/1.153, allocations: 0.5649 MB / 1.286 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001275/1.154, allocations: 0.6587 MB / 1.287 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.154, allocations: 4 kB / 1.287 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004658/1.154, allocations: 287.2 kB / 1.287 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.156, allocations: 306.9 kB / 1.287 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/1.157, allocations: 1.348 MB / 1.289 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/1.158, allocations: 0.87 MB / 1.29 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/1.158, allocations: 55.3 kB / 1.29 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.158, allocations: 0 / 1.29 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.0207/1.178, allocations: 19.79 MB / 1.309 GB, free: 159 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