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.0008291/0.0008291, allocations: 91.77 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.00518/0.00518, allocations: 171.5 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.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.259/2.259, allocations: 437.8 MB / 0.7121 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 8 kB / 0.873 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.561, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1539/0.715, allocations: 159.1 MB / 1.178 GB, free: 236 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.7251, allocations: 8.745 MB / 1.187 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.7256, allocations: 19.88 kB / 1.187 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008068/0.7264, allocations: 286.4 kB / 1.187 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.7279, allocations: 0.6505 MB / 1.188 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.7317, allocations: 1.765 MB / 1.19 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.7333, allocations: 1.797 MB / 1.191 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.7338, allocations: 364.6 kB / 1.192 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.7364, allocations: 1.268 MB / 1.193 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.7369, allocations: 438.1 kB / 1.193 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.737, allocations: 28 kB / 1.193 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005441/0.7425, allocations: 3.523 MB / 1.197 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.7426, allocations: 131.4 kB / 1.197 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.7429, allocations: 344.2 kB / 1.197 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.7456, allocations: 2.525 MB / 1.2 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7457, allocations: 0 / 1.2 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.966e-06/0.7457, allocations: 0 / 1.2 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.7457, allocations: 3.938 kB / 1.2 GB, free: 10.32 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.001639/0.7473, allocations: 0.9059 MB / 1.201 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7474, allocations: 8.031 kB / 1.201 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.7475, allocations: 102.5 kB / 1.201 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.7485, allocations: 139.2 kB / 1.201 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.749, allocations: 417.6 kB / 1.201 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.749, allocations: 37.31 kB / 1.201 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.7491, allocations: 56 kB / 1.201 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7502, allocations: 0.6604 MB / 1.202 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.7502, allocations: 7.938 kB / 1.202 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.7503, allocations: 20 kB / 1.202 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.7503, allocations: 20 kB / 1.202 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009382/0.7512, allocations: 475.6 kB / 1.203 GB, free: 7.352 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.01431/0.7656, allocations: 6.529 MB / 1.209 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.7659, allocations: 167.2 kB / 1.209 GB, free: 380 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.7662, allocations: 125.3 kB / 1.209 GB, free: 252 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.7773, allocations: 3.857 MB / 1.213 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.7773, allocations: 38.8 kB / 1.213 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.7774, allocations: 0 / 1.213 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.5044/1.282, allocations: 29.15 MB / 1.242 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/1.282, allocations: 142 kB / 1.242 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/1.282, allocations: 459.9 kB / 1.242 GB, free: 205.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/1.283, allocations: 33.2 kB / 1.242 GB, free: 205.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/1.283, allocations: 306.1 kB / 1.242 GB, free: 204.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/1.283, allocations: 141.8 kB / 1.243 GB, free: 204.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/1.283, allocations: 52.36 kB / 1.243 GB, free: 204.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/1.283, allocations: 356.8 kB / 1.243 GB, free: 204.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/1.283, allocations: 190.3 kB / 1.243 GB, free: 204.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/1.284, allocations: 354.8 kB / 1.243 GB, free: 204.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008705/1.285, allocations: 0.5334 MB / 1.244 GB, free: 203.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.285, allocations: 1.938 kB / 1.244 GB, free: 203.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001703/1.286, allocations: 0.7057 MB / 1.245 GB, free: 203.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.287, allocations: 10.53 kB / 1.245 GB, free: 203.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.287, allocations: 8.219 kB / 1.245 GB, free: 203.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/1.287, allocations: 116.7 kB / 1.245 GB, free: 203.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/1.287, allocations: 115.5 kB / 1.245 GB, free: 203.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/1.29, allocations: 3.075 MB / 1.248 GB, free: 200.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/1.29, allocations: 49.17 kB / 1.248 GB, free: 200.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/1.29, allocations: 23.75 kB / 1.248 GB, free: 200.6 MB / 0.9825 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.0002171/1.291, allocations: 192.6 kB / 1.248 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.291, allocations: 52.83 kB / 1.248 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/1.292, allocations: 0.6681 MB / 1.249 GB, free: 200.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.292, allocations: 4.172 kB / 1.249 GB, free: 200.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.292, allocations: 0.875 kB / 1.249 GB, free: 200.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/1.292, allocations: 1.828 kB / 1.249 GB, free: 200.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/1.294, allocations: 1.213 MB / 1.25 GB, free: 199.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.294, allocations: 4.375 kB / 1.25 GB, free: 199.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/1.295, allocations: 66.81 kB / 1.25 GB, free: 199.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/1.295, allocations: 70.48 kB / 1.25 GB, free: 199.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/1.295, allocations: 16.17 kB / 1.25 GB, free: 199.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/1.296, allocations: 1.571 MB / 1.252 GB, free: 197.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.296, allocations: 7.547 kB / 1.252 GB, free: 197.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.297, allocations: 0.7433 MB / 1.252 GB, free: 197.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.298, allocations: 146 kB / 1.253 GB, free: 197.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/1.298, allocations: 16.62 kB / 1.253 GB, free: 197.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/1.298, allocations: 32.89 kB / 1.253 GB, free: 197.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/1.298, allocations: 42.41 kB / 1.253 GB, free: 197.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/1.298, allocations: 15.47 kB / 1.253 GB, free: 197.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004261/1.299, allocations: 357 kB / 1.253 GB, free: 197 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.299, allocations: 0 / 1.253 GB, free: 197 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001716/1.3, allocations: 0.5633 MB / 1.254 GB, free: 197 MB / 0.9825 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.003343/1.304, allocations: 1.759 MB / 1.255 GB, free: 196 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.305, allocations: 0.6703 MB / 1.256 GB, free: 195.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.305, allocations: 1.625 kB / 1.256 GB, free: 195.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/1.306, allocations: 282.9 kB / 1.256 GB, free: 195.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/1.308, allocations: 296.4 kB / 1.257 GB, free: 195.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/1.316, allocations: 5.74 MB / 1.262 GB, free: 191.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/1.316, allocations: 0.8675 MB / 1.263 GB, free: 191.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000517/1.317, allocations: 116 kB / 1.263 GB, free: 191.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.317, allocations: 187.7 kB / 1.263 GB, free: 191.1 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/1.317, allocations: 0 / 1.263 GB, free: 191.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09542/1.412, allocations: 27.61 MB / 1.29 GB, free: 183.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.412, allocations: 334.4 kB / 1.291 GB, free: 182.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/3.628, allocations: 2.953 kB / 1.291 GB, free: 182.7 MB / 0.9825 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