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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001175, allocations: 191.6 kB / 16.13 MB, free: 6.691 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.184/1.184, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.285/2.285, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.14 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4873, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1436/0.631, allocations: 161.2 MB / 1.174 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.6412, allocations: 8.858 MB / 1.183 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004866/0.6418, allocations: 11.94 kB / 1.183 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000811/0.6426, allocations: 302.4 kB / 1.183 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.644, allocations: 0.6453 MB / 1.184 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.6474, allocations: 1.759 MB / 1.185 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.6489, allocations: 1.797 MB / 1.187 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.6494, allocations: 373.1 kB / 1.188 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.6519, allocations: 1.28 MB / 1.189 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.6525, allocations: 450.1 kB / 1.189 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.6526, allocations: 28 kB / 1.189 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005038/0.6576, allocations: 3.527 MB / 1.193 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.6578, allocations: 139.4 kB / 1.193 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.6581, allocations: 326.4 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.6608, allocations: 2.557 MB / 1.196 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6609, allocations: 0 / 1.196 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6609, allocations: 0 / 1.196 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.6609, allocations: 3.938 kB / 1.196 GB, free: 10.96 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.00182/0.6627, allocations: 1.017 MB / 1.197 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6628, allocations: 12.03 kB / 1.197 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.6629, allocations: 94.5 kB / 1.197 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.6639, allocations: 135.2 kB / 1.197 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.6644, allocations: 421.6 kB / 1.197 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.6645, allocations: 41.31 kB / 1.197 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.6646, allocations: 48 kB / 1.197 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.6656, allocations: 0.6642 MB / 1.198 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.6656, allocations: 4 kB / 1.198 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.6657, allocations: 28 kB / 1.198 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.6657, allocations: 12 kB / 1.198 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.6667, allocations: 471.5 kB / 1.198 GB, free: 7.898 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.01355/0.6802, allocations: 6.471 MB / 1.205 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.6806, allocations: 164.8 kB / 1.205 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.6809, allocations: 121.3 kB / 1.205 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009969/0.6909, allocations: 3.814 MB / 1.209 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.6909, allocations: 46.67 kB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.803e-06/0.6909, allocations: 4 kB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.0733/0.7642, allocations: 30.36 MB / 1.238 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.7643, allocations: 140.5 kB / 1.239 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.7648, allocations: 453.8 kB / 1.239 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.7649, allocations: 33.7 kB / 1.239 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.7651, allocations: 315.4 kB / 1.239 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.38e-05/0.7652, allocations: 137.9 kB / 1.24 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.7653, allocations: 106.2 kB / 1.24 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7655, allocations: 358.8 kB / 1.24 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.7659, allocations: 189 kB / 1.24 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.7664, allocations: 349.2 kB / 1.24 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.7672, allocations: 0.5233 MB / 1.241 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7672, allocations: 4 kB / 1.241 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001587/0.7688, allocations: 0.6857 MB / 1.242 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7689, allocations: 4 kB / 1.242 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.7689, allocations: 8 kB / 1.242 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004426/0.7693, allocations: 125.9 kB / 1.242 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.7698, allocations: 111.8 kB / 1.242 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.7725, allocations: 3.071 MB / 1.245 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.773, allocations: 47.95 kB / 1.245 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.773, allocations: 28 kB / 1.245 GB, free: 7.348 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.0002183/0.7732, allocations: 194.3 kB / 1.245 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.7734, allocations: 51.44 kB / 1.245 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.7748, allocations: 0.6567 MB / 1.246 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7748, allocations: 0 / 1.246 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7748, allocations: 4 kB / 1.246 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7748, allocations: 3.984 kB / 1.246 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.7767, allocations: 1.204 MB / 1.247 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7767, allocations: 4 kB / 1.247 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.7771, allocations: 64.39 kB / 1.247 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002286/0.7773, allocations: 68.81 kB / 1.247 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.7773, allocations: 15.94 kB / 1.247 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.7788, allocations: 1.561 MB / 1.249 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7788, allocations: 8 kB / 1.249 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.7801, allocations: 0.7204 MB / 1.249 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.7802, allocations: 124.5 kB / 1.25 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.7803, allocations: 19.94 kB / 1.25 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.7807, allocations: 31.83 kB / 1.25 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.7807, allocations: 43.89 kB / 1.25 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.7808, allocations: 16 kB / 1.25 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003725/0.7811, allocations: 358.8 kB / 1.25 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7811, allocations: 3.938 kB / 1.25 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00142/0.7826, allocations: 0.5545 MB / 1.251 GB, free: 1.289 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.3946/1.177, allocations: 1.72 MB / 1.252 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.179, allocations: 0.6641 MB / 1.253 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.179, allocations: 0.875 kB / 1.253 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005324/1.179, allocations: 287.6 kB / 1.253 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.181, allocations: 287.1 kB / 1.253 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008063/1.189, allocations: 5.65 MB / 1.259 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/1.189, allocations: 0.8641 MB / 1.26 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005242/1.19, allocations: 114.9 kB / 1.26 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/1.19, allocations: 187.8 kB / 1.26 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.19, allocations: 3.719 kB / 1.26 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/1.235, allocations: 27.8 MB / 1.287 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.236, allocations: 328.7 kB / 1.288 GB, free: 210 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/3.462, allocations: 0 / 1.288 GB, free: 210 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