Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00124/0.00124, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.192/1.192, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.273/2.273, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5088/0.5101, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1394/0.6495, allocations: 161.1 MB / 1.174 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009205/0.6588, allocations: 8.241 MB / 1.182 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.6593, allocations: 15.94 kB / 1.182 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008879/0.6602, allocations: 298.4 kB / 1.183 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.6619, allocations: 0.6645 MB / 1.183 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.666, allocations: 1.913 MB / 1.185 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.6675, allocations: 1.368 MB / 1.187 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/0.6681, allocations: 425.4 kB / 1.187 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.6708, allocations: 1.377 MB / 1.188 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.6715, allocations: 450.2 kB / 1.189 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.6716, allocations: 52 kB / 1.189 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.677, allocations: 3.539 MB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.6772, allocations: 159.4 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.6776, allocations: 346.5 kB / 1.193 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003346/0.681, allocations: 2.584 MB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.681, allocations: 0 / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.543e-06/0.681, allocations: 3.938 kB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.6811, allocations: 0 / 1.195 GB, free: 11.53 MB / 0.9512 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.002043/0.6831, allocations: 1.021 MB / 1.196 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.6831, allocations: 12.03 kB / 1.196 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001096/0.6833, allocations: 94.52 kB / 1.196 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6844, allocations: 135.2 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.685, allocations: 421.6 kB / 1.197 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.685, allocations: 37.31 kB / 1.197 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-05/0.6851, allocations: 52 kB / 1.197 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6862, allocations: 0.6604 MB / 1.198 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.6862, allocations: 3.938 kB / 1.198 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.6863, allocations: 28 kB / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.6863, allocations: 12 kB / 1.198 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/0.6872, allocations: 471.5 kB / 1.198 GB, free: 8.465 MB / 0.9512 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.01409/0.7013, allocations: 6.475 MB / 1.204 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.7017, allocations: 159.2 kB / 1.205 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.7019, allocations: 125.3 kB / 1.205 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.7127, allocations: 3.81 MB / 1.208 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.7127, allocations: 38.8 kB / 1.208 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.7127, allocations: 3.938 kB / 1.208 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.07766/0.7904, allocations: 30.37 MB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.7905, allocations: 140.4 kB / 1.238 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.791, allocations: 453.8 kB / 1.239 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.791, allocations: 33.7 kB / 1.239 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.7912, allocations: 311.4 kB / 1.239 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.7913, allocations: 141.9 kB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.7914, allocations: 102.2 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7916, allocations: 358.8 kB / 1.24 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.7919, allocations: 181 kB / 1.24 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.7924, allocations: 349.2 kB / 1.24 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.7932, allocations: 0.5271 MB / 1.241 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.7932, allocations: 4 kB / 1.241 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001542/0.7948, allocations: 0.686 MB / 1.241 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7948, allocations: 8 kB / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.7948, allocations: 8.031 kB / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004361/0.7952, allocations: 125.6 kB / 1.241 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.7957, allocations: 107.9 kB / 1.241 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.7983, allocations: 3.409 MB / 1.245 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.7989, allocations: 47.91 kB / 1.245 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.7989, allocations: 31.98 kB / 1.245 GB, free: 7.562 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.0002058/0.7991, allocations: 189.6 kB / 1.245 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.7993, allocations: 59.38 kB / 1.245 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.8006, allocations: 0.6488 MB / 1.246 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8006, allocations: 8.031 kB / 1.246 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.8006, allocations: 0 / 1.246 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8006, allocations: 3.984 kB / 1.246 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.8025, allocations: 1.207 MB / 1.247 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8025, allocations: 4 kB / 1.247 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.8028, allocations: 67.89 kB / 1.247 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.803, allocations: 64.81 kB / 1.247 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.8031, allocations: 8 kB / 1.247 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.8045, allocations: 1.74 MB / 1.249 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.8045, allocations: 4 kB / 1.249 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.8058, allocations: 0.7283 MB / 1.249 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.8059, allocations: 132.5 kB / 1.25 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.806, allocations: 8 kB / 1.25 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.8064, allocations: 39.88 kB / 1.25 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.8064, allocations: 35.84 kB / 1.25 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.8065, allocations: 16 kB / 1.25 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003596/0.8068, allocations: 358.8 kB / 1.25 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8068, allocations: 4 kB / 1.25 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001413/0.8083, allocations: 0.5623 MB / 1.251 GB, free: 1.32 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.368/1.176, allocations: 1.726 MB / 1.252 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001507/1.178, allocations: 0.6716 MB / 1.253 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.178, allocations: 4.812 kB / 1.253 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004938/1.178, allocations: 278.2 kB / 1.253 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.18, allocations: 311.2 kB / 1.254 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007611/1.187, allocations: 5.647 MB / 1.259 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/1.188, allocations: 0.8674 MB / 1.26 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005687/1.188, allocations: 111 kB / 1.26 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/1.189, allocations: 186.9 kB / 1.26 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.189, allocations: 0 / 1.26 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04927/1.238, allocations: 28.31 MB / 1.288 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.238, allocations: 334.2 kB / 1.288 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/3.526, allocations: 2.25 kB / 1.288 GB, free: 210.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches