Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 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.001315/0.001315, allocations: 194 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 62.59 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2909, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1623/0.4532, allocations: 163.2 MB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.4637, allocations: 8.129 MB / 1.231 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006771/0.4644, allocations: 15.94 kB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.4656, allocations: 345.8 kB / 1.231 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.4678, allocations: 0.7112 MB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005233/0.4731, allocations: 2.136 MB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.4748, allocations: 1.368 MB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006455/0.4754, allocations: 429.5 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.4785, allocations: 1.42 MB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006094/0.4791, allocations: 442.2 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.4792, allocations: 52 kB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006131/0.4854, allocations: 3.527 MB / 1.241 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.4856, allocations: 163.4 kB / 1.241 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003887/0.486, allocations: 346.5 kB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.4891, allocations: 2.553 MB / 1.244 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4892, allocations: 3.984 kB / 1.244 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4892, allocations: 0 / 1.244 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.4892, allocations: 0 / 1.244 GB, free: 4.988 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.00176/0.4909, allocations: 1.029 MB / 1.245 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.491, allocations: 12.03 kB / 1.245 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.4911, allocations: 94.52 kB / 1.245 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4922, allocations: 135.2 kB / 1.245 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.4927, allocations: 413.6 kB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.4928, allocations: 41.31 kB / 1.246 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.4928, allocations: 55.94 kB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4939, allocations: 0.6609 MB / 1.247 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.494, allocations: 0 / 1.247 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.494, allocations: 28 kB / 1.247 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4941, allocations: 12 kB / 1.247 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.4951, allocations: 467.5 kB / 1.247 GB, free: 1.918 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.4874/0.9825, allocations: 6.466 MB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.9829, allocations: 162.7 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.9832, allocations: 121.8 kB / 1.254 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.9947, allocations: 3.811 MB / 1.257 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9947, allocations: 38.75 kB / 1.257 GB, free: 184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/0.9947, allocations: 4 kB / 1.257 GB, free: 184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.08732/1.082, allocations: 30.34 MB / 1.287 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.082, allocations: 136.5 kB / 1.287 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/1.083, allocations: 458.2 kB / 1.288 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/1.083, allocations: 29.64 kB / 1.288 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.083, allocations: 308.3 kB / 1.288 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/1.083, allocations: 148.9 kB / 1.288 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/1.083, allocations: 100.8 kB / 1.288 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/1.083, allocations: 365.9 kB / 1.288 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/1.083, allocations: 182.9 kB / 1.289 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/1.084, allocations: 346.2 kB / 1.289 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/1.085, allocations: 0.5217 MB / 1.289 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.085, allocations: 0 / 1.289 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001514/1.086, allocations: 0.6964 MB / 1.29 GB, free: 173 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.086, allocations: 5.719 kB / 1.29 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.086, allocations: 6.25 kB / 1.29 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/1.087, allocations: 123.7 kB / 1.29 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/1.087, allocations: 115.7 kB / 1.29 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/1.089, allocations: 3.412 MB / 1.294 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/1.09, allocations: 30.28 kB / 1.294 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/1.09, allocations: 23.75 kB / 1.294 GB, free: 169.3 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.0002341/1.09, allocations: 190.6 kB / 1.294 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/1.09, allocations: 55.38 kB / 1.294 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/1.092, allocations: 0.6591 MB / 1.295 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.092, allocations: 4 kB / 1.295 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.092, allocations: 7.656 kB / 1.295 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.092, allocations: 0 / 1.295 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/1.093, allocations: 1.203 MB / 1.296 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.093, allocations: 5.062 kB / 1.296 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/1.094, allocations: 72.2 kB / 1.296 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/1.094, allocations: 67.98 kB / 1.296 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/1.094, allocations: 11.81 kB / 1.296 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/1.095, allocations: 1.735 MB / 1.298 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.095, allocations: 8.875 kB / 1.298 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/1.097, allocations: 0.7204 MB / 1.298 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/1.097, allocations: 128.3 kB / 1.299 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/1.097, allocations: 15.92 kB / 1.299 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/1.097, allocations: 19.86 kB / 1.299 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/1.097, allocations: 31.84 kB / 1.299 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.097, allocations: 26.08 kB / 1.299 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003288/1.098, allocations: 355.7 kB / 1.299 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.098, allocations: 4 kB / 1.299 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001555/1.099, allocations: 0.5537 MB / 1.299 GB, free: 164 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.003394/1.103, allocations: 1.733 MB / 1.301 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001369/1.104, allocations: 0.6805 MB / 1.302 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.104, allocations: 4 kB / 1.302 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004703/1.104, allocations: 285.6 kB / 1.302 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.106, allocations: 313.2 kB / 1.302 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/1.113, allocations: 5.455 MB / 1.308 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/1.113, allocations: 0.8636 MB / 1.309 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004965/1.113, allocations: 116.9 kB / 1.309 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/1.114, allocations: 191.4 kB / 1.309 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.114, allocations: 0 / 1.309 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04872/1.162, allocations: 28.36 MB / 1.337 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.68, allocations: 15.78 kB / 1.337 GB, free: 126.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches