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.001302/0.001302, 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.001289/0.001289, allocations: 193.2 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.491/2.491, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.47 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2596, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1553/0.415, allocations: 163.2 MB / 1.212 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009281/0.4243, allocations: 8.125 MB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.4248, allocations: 19.88 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.4257, allocations: 345.8 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.4271, allocations: 0.7151 MB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004538/0.4317, allocations: 2.135 MB / 1.223 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.4329, allocations: 1.368 MB / 1.225 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/0.4335, allocations: 425.5 kB / 1.225 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.4361, allocations: 1.42 MB / 1.226 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.4366, allocations: 438.2 kB / 1.227 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/0.4367, allocations: 52 kB / 1.227 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00536/0.4421, allocations: 3.527 MB / 1.23 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.4423, allocations: 159.4 kB / 1.231 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.4426, allocations: 346.5 kB / 1.231 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.4453, allocations: 2.557 MB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4453, allocations: 0 / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4453, allocations: 0 / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.4453, allocations: 0 / 1.233 GB, free: 14.77 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.001698/0.447, allocations: 1.029 MB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4471, allocations: 16.62 kB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.767e-05/0.4472, allocations: 98.44 kB / 1.234 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.4482, allocations: 139.2 kB / 1.235 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.4487, allocations: 413.7 kB / 1.235 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.4488, allocations: 37.31 kB / 1.235 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.4488, allocations: 52 kB / 1.235 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.4499, allocations: 0.6642 MB / 1.236 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.4499, allocations: 4 kB / 1.236 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.45, allocations: 24 kB / 1.236 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.45, allocations: 12 kB / 1.236 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.4509, allocations: 467.5 kB / 1.236 GB, free: 11.7 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.01474/0.4657, allocations: 6.475 MB / 1.243 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.4661, allocations: 167.1 kB / 1.243 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.4663, allocations: 117.3 kB / 1.243 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/0.4779, allocations: 3.81 MB / 1.247 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.478, allocations: 42.8 kB / 1.247 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.535e-06/0.478, allocations: 0 / 1.247 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.5276/1.006, allocations: 30.33 MB / 1.276 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/1.006, allocations: 134.4 kB / 1.276 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/1.006, allocations: 456.5 kB / 1.277 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/1.006, allocations: 32.7 kB / 1.277 GB, free: 191 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/1.006, allocations: 313.1 kB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/1.006, allocations: 144.2 kB / 1.277 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.006, allocations: 102.2 kB / 1.277 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/1.007, allocations: 364.5 kB / 1.278 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/1.007, allocations: 175.8 kB / 1.278 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/1.007, allocations: 356.2 kB / 1.278 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/1.008, allocations: 0.5309 MB / 1.279 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.008, allocations: 0 / 1.279 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001461/1.01, allocations: 0.6954 MB / 1.279 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.01, allocations: 4.531 kB / 1.279 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.01, allocations: 4 kB / 1.279 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/1.01, allocations: 128 kB / 1.28 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/1.01, allocations: 115.5 kB / 1.28 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/1.013, allocations: 3.401 MB / 1.283 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/1.013, allocations: 31.88 kB / 1.283 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.013, allocations: 26.91 kB / 1.283 GB, free: 185.2 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.0001792/1.013, allocations: 188.5 kB / 1.283 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/1.013, allocations: 55.34 kB / 1.283 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/1.015, allocations: 0.6549 MB / 1.284 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/1.015, allocations: 4 kB / 1.284 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/1.015, allocations: 7.828 kB / 1.284 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.015, allocations: 0 / 1.284 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/1.016, allocations: 1.199 MB / 1.285 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.016, allocations: 4 kB / 1.285 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/1.017, allocations: 67.83 kB / 1.285 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002274/1.017, allocations: 71.81 kB / 1.285 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/1.017, allocations: 18.55 kB / 1.285 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/1.018, allocations: 1.743 MB / 1.287 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.018, allocations: 4.938 kB / 1.287 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/1.019, allocations: 0.7321 MB / 1.288 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-05/1.019, allocations: 124.2 kB / 1.288 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/1.019, allocations: 14.44 kB / 1.288 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/1.02, allocations: 19.3 kB / 1.288 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/1.02, allocations: 38.97 kB / 1.288 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/1.02, allocations: 19.98 kB / 1.288 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003099/1.02, allocations: 350.5 kB / 1.288 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.02, allocations: 0 / 1.288 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001323/1.022, allocations: 0.5611 MB / 1.289 GB, free: 179.9 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.002904/1.025, allocations: 1.724 MB / 1.29 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001257/1.026, allocations: 0.6719 MB / 1.291 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.026, allocations: 0 / 1.291 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/1.026, allocations: 286.2 kB / 1.291 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.028, allocations: 298.5 kB / 1.292 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/1.034, allocations: 5.478 MB / 1.297 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/1.034, allocations: 0.8626 MB / 1.298 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004444/1.035, allocations: 116.4 kB / 1.298 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/1.035, allocations: 193.4 kB / 1.298 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.035, allocations: 0 / 1.298 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.7/3.735, allocations: 28.36 MB / 1.326 GB, free: 143.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/21.14, allocations: 5.812 kB / 1.326 GB, free: 143.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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