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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_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_latest_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.0009431/0.000943, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006118/0.006118, allocations: 172 kB / 16.26 MB, free: 6.613 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.401/2.401, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 12.28 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1529/0.4085, allocations: 159.1 MB / 1.214 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.4198, allocations: 8.747 MB / 1.223 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.4204, allocations: 15.88 kB / 1.223 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000947/0.4213, allocations: 294.4 kB / 1.223 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.4231, allocations: 0.6532 MB / 1.224 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004058/0.4272, allocations: 1.767 MB / 1.225 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.429, allocations: 1.793 MB / 1.227 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005989/0.4297, allocations: 356.6 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.4325, allocations: 1.288 MB / 1.229 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.4332, allocations: 434.2 kB / 1.229 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.4333, allocations: 28 kB / 1.229 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/0.4392, allocations: 3.523 MB / 1.233 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.4394, allocations: 127.4 kB / 1.233 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.4398, allocations: 348.1 kB / 1.233 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.4434, allocations: 2.529 MB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4435, allocations: 0 / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4435, allocations: 0 / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.4435, allocations: 0 / 1.235 GB, free: 15.27 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.001998/0.4455, allocations: 0.8967 MB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.4455, allocations: 12.03 kB / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.4457, allocations: 94.52 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.4468, allocations: 139.1 kB / 1.237 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.4474, allocations: 421.6 kB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.4474, allocations: 41.31 kB / 1.237 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/0.4475, allocations: 55.91 kB / 1.237 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.4486, allocations: 0.6681 MB / 1.238 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4486, allocations: 0 / 1.238 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.4487, allocations: 24 kB / 1.238 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4487, allocations: 12 kB / 1.238 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009718/0.4497, allocations: 483.5 kB / 1.238 GB, free: 12.3 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.01448/0.4642, allocations: 6.514 MB / 1.245 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.4646, allocations: 167.2 kB / 1.245 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.4649, allocations: 125.3 kB / 1.245 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/0.4761, allocations: 3.861 MB / 1.249 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.4761, allocations: 38.73 kB / 1.249 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.4761, allocations: 4 kB / 1.249 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.5563/1.032, allocations: 29.14 MB / 1.277 GB, free: 22.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.033, allocations: 136.2 kB / 1.277 GB, free: 22.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/1.033, allocations: 458.4 kB / 1.278 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/1.033, allocations: 32.3 kB / 1.278 GB, free: 21.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.033, allocations: 310.8 kB / 1.278 GB, free: 21.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/1.033, allocations: 143.2 kB / 1.278 GB, free: 21.62 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/1.033, allocations: 51.81 kB / 1.278 GB, free: 21.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/1.033, allocations: 367 kB / 1.279 GB, free: 21.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/1.034, allocations: 191.9 kB / 1.279 GB, free: 21.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/1.034, allocations: 352.2 kB / 1.279 GB, free: 21.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/1.035, allocations: 0.5241 MB / 1.28 GB, free: 20.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.035, allocations: 0 / 1.28 GB, free: 20.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001414/1.036, allocations: 0.7114 MB / 1.28 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.036, allocations: 7.062 kB / 1.28 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.036, allocations: 6.812 kB / 1.28 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/1.037, allocations: 122.8 kB / 1.28 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/1.037, allocations: 116.4 kB / 1.281 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/1.039, allocations: 3.061 MB / 1.284 GB, free: 18.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/1.04, allocations: 51.19 kB / 1.284 GB, free: 18.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/1.04, allocations: 24.78 kB / 1.284 GB, free: 18.14 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.0001846/1.04, allocations: 192.6 kB / 1.284 GB, free: 18.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.04, allocations: 58.91 kB / 1.284 GB, free: 18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/1.041, allocations: 0.6647 MB / 1.284 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.041, allocations: 2.188 kB / 1.285 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.041, allocations: 1.938 kB / 1.285 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.041, allocations: 0 / 1.285 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/1.043, allocations: 1.217 MB / 1.286 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.043, allocations: 5.094 kB / 1.286 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/1.043, allocations: 71.69 kB / 1.286 GB, free: 17.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/1.044, allocations: 71.67 kB / 1.286 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/1.044, allocations: 15.66 kB / 1.286 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/1.045, allocations: 1.567 MB / 1.287 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.045, allocations: 9.031 kB / 1.287 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.046, allocations: 0.7378 MB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/1.046, allocations: 148.8 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/1.046, allocations: 10.59 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/1.046, allocations: 33.31 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/1.047, allocations: 33.89 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/1.047, allocations: 18.34 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003095/1.047, allocations: 364.4 kB / 1.289 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.22e-07/1.047, allocations: 0 / 1.289 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001372/1.048, allocations: 0.5595 MB / 1.289 GB, free: 15.51 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.002812/1.051, allocations: 1.747 MB / 1.291 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001125/1.052, allocations: 0.673 MB / 1.292 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.052, allocations: 0 / 1.292 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/1.053, allocations: 284.8 kB / 1.292 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.054, allocations: 297.7 kB / 1.292 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/1.061, allocations: 5.753 MB / 1.298 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.061, allocations: 0.8626 MB / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000436/1.062, allocations: 107.6 kB / 1.299 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/1.062, allocations: 186.7 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.062, allocations: 4 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03704/1.099, allocations: 27.65 MB / 1.326 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/1.099, allocations: 319.8 kB / 1.326 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.41, allocations: 2.906 kB / 1.326 GB, free: 3.168 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > 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