Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_11_Buildings_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.001415/0.001415, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.453/2.453, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 63.56 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2467, allocations: 159.2 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1647/0.4114, allocations: 163.2 MB / 1.223 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009702/0.4211, allocations: 8.144 MB / 1.231 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.4216, allocations: 11.94 kB / 1.231 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.4224, allocations: 341.8 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.4239, allocations: 0.719 MB / 1.232 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.4279, allocations: 2.13 MB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.4293, allocations: 1.36 MB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005208/0.4298, allocations: 433.4 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.4322, allocations: 1.42 MB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.4327, allocations: 442.2 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/0.4328, allocations: 52 kB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005166/0.438, allocations: 3.523 MB / 1.242 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.4381, allocations: 163.4 kB / 1.242 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.4385, allocations: 346.5 kB / 1.242 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.4414, allocations: 2.553 MB / 1.245 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4414, allocations: 0 / 1.245 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4414, allocations: 0 / 1.245 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.4414, allocations: 0 / 1.245 GB, free: 4.789 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.001664/0.4431, allocations: 1.033 MB / 1.246 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4431, allocations: 8.031 kB / 1.246 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.4432, allocations: 94.52 kB / 1.246 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/0.4442, allocations: 147.1 kB / 1.246 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.4447, allocations: 413.6 kB / 1.246 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.4448, allocations: 37.31 kB / 1.246 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/0.4449, allocations: 52 kB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4459, allocations: 0.6526 MB / 1.247 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.446, allocations: 7.922 kB / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.446, allocations: 28 kB / 1.247 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.4461, allocations: 12 kB / 1.247 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009278/0.447, allocations: 467.6 kB / 1.247 GB, free: 1.715 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.4069/0.8539, allocations: 6.473 MB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.8543, allocations: 156.4 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.8545, allocations: 122.9 kB / 1.254 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.8646, allocations: 3.816 MB / 1.258 GB, free: 184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.8646, allocations: 41.3 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.833e-06/0.8646, allocations: 4.672 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.07432/0.9389, allocations: 30.34 MB / 1.287 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.939, allocations: 136.5 kB / 1.288 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.9394, allocations: 463.2 kB / 1.288 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9394, allocations: 29.58 kB / 1.288 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.9395, allocations: 308.6 kB / 1.288 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.9396, allocations: 143.6 kB / 1.288 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.9397, allocations: 104.7 kB / 1.289 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.9398, allocations: 361.8 kB / 1.289 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.9401, allocations: 186 kB / 1.289 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.9405, allocations: 347.9 kB / 1.289 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.9412, allocations: 0.5245 MB / 1.29 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9412, allocations: 8 kB / 1.29 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00134/0.9425, allocations: 0.6873 MB / 1.291 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.9425, allocations: 4 kB / 1.291 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9426, allocations: 8.625 kB / 1.291 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.943, allocations: 123.8 kB / 1.291 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.9433, allocations: 113 kB / 1.291 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.9454, allocations: 3.409 MB / 1.294 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.9458, allocations: 37.45 kB / 1.294 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.9458, allocations: 19.69 kB / 1.294 GB, free: 169 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.0001667/0.946, allocations: 197.6 kB / 1.294 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.9462, allocations: 55.38 kB / 1.294 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.9473, allocations: 0.6521 MB / 1.295 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9473, allocations: 4 kB / 1.295 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.9473, allocations: 3.938 kB / 1.295 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9473, allocations: 0 / 1.295 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.9489, allocations: 1.214 MB / 1.296 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9489, allocations: 4 kB / 1.296 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.9492, allocations: 63.89 kB / 1.296 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.9494, allocations: 68.62 kB / 1.296 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.9494, allocations: 7.75 kB / 1.296 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.9505, allocations: 1.743 MB / 1.298 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9505, allocations: 7.938 kB / 1.298 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.9516, allocations: 0.7155 MB / 1.299 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.9517, allocations: 124.4 kB / 1.299 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.9517, allocations: 21.11 kB / 1.299 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.9521, allocations: 23.73 kB / 1.299 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.9522, allocations: 31.78 kB / 1.299 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.9522, allocations: 19.86 kB / 1.299 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002829/0.9525, allocations: 359.2 kB / 1.299 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9525, allocations: 0 / 1.299 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001255/0.9537, allocations: 0.5539 MB / 1.3 GB, free: 163.7 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.002673/0.9564, allocations: 1.739 MB / 1.302 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.9576, allocations: 0.6752 MB / 1.302 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9576, allocations: 8 kB / 1.302 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.958, allocations: 280.9 kB / 1.303 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.9593, allocations: 308.3 kB / 1.303 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.965, allocations: 5.454 MB / 1.308 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.9652, allocations: 0.8706 MB / 1.309 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004013/0.9656, allocations: 103.3 kB / 1.309 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.9658, allocations: 191.4 kB / 1.309 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.9658, allocations: 4 kB / 1.309 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4231/1.389, allocations: 28.36 MB / 1.337 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/17.53, allocations: 10.25 kB / 1.337 GB, free: 126.3 MB / 0.9981 GB (rm -f Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches