Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_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_latest_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.001206/0.001206, 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.0012/0.0012, allocations: 195 kB / 16.14 MB, free: 6.656 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.337/2.337, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 62.75 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2303, allocations: 157.4 MB / 1.052 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1391/0.3695, allocations: 161.2 MB / 1.21 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00979/0.3793, allocations: 8.848 MB / 1.218 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.3798, allocations: 15.88 kB / 1.218 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000864/0.3807, allocations: 290.5 kB / 1.219 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.3823, allocations: 0.6453 MB / 1.219 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.3859, allocations: 1.763 MB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3875, allocations: 1.793 MB / 1.223 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.3881, allocations: 373.1 kB / 1.223 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.3907, allocations: 1.291 MB / 1.224 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006629/0.3914, allocations: 450.2 kB / 1.225 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-05/0.3915, allocations: 28 kB / 1.225 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005352/0.3969, allocations: 3.531 MB / 1.228 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.3971, allocations: 135.5 kB / 1.228 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.3975, allocations: 322.5 kB / 1.229 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.4004, allocations: 2.56 MB / 1.231 GB, free: 296 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4004, allocations: 0 / 1.231 GB, free: 296 kB / 0.9825 GB Notification: Performance of FrontEnd: time 7.61e-07/0.4004, allocations: 0 / 1.231 GB, free: 296 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.4005, allocations: 0 / 1.231 GB, free: 296 kB / 0.9825 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.001909/0.4024, allocations: 1.025 MB / 1.232 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4024, allocations: 12.03 kB / 1.232 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.4025, allocations: 90.52 kB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.4036, allocations: 139.1 kB / 1.232 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.4041, allocations: 413.7 kB / 1.233 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.4042, allocations: 45.31 kB / 1.233 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.4042, allocations: 51.98 kB / 1.233 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.4053, allocations: 0.6564 MB / 1.233 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4053, allocations: 4 kB / 1.233 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.4054, allocations: 24 kB / 1.234 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.4054, allocations: 19.98 kB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.4063, allocations: 467.5 kB / 1.234 GB, free: 13.22 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.01352/0.4199, allocations: 6.463 MB / 1.24 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.4203, allocations: 167.2 kB / 1.24 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.4205, allocations: 125.2 kB / 1.241 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.4306, allocations: 3.806 MB / 1.244 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4306, allocations: 42.78 kB / 1.244 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.4306, allocations: 0 / 1.244 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.4674/0.8981, allocations: 30.35 MB / 1.274 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.8981, allocations: 138.4 kB / 1.274 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.8985, allocations: 459.4 kB / 1.275 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.8986, allocations: 32.64 kB / 1.275 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.8987, allocations: 313.2 kB / 1.275 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.8988, allocations: 136 kB / 1.275 GB, free: 191 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.8989, allocations: 104.4 kB / 1.275 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.8989, allocations: 361.8 kB / 1.275 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.8993, allocations: 181.3 kB / 1.276 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.8997, allocations: 357.2 kB / 1.276 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.9004, allocations: 0.5288 MB / 1.276 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9004, allocations: 0 / 1.276 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001365/0.9018, allocations: 0.6982 MB / 1.277 GB, free: 190 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9018, allocations: 4 kB / 1.277 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9018, allocations: 8 kB / 1.277 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.9022, allocations: 120.2 kB / 1.277 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.9026, allocations: 111.7 kB / 1.277 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/0.9046, allocations: 3.071 MB / 1.28 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.905, allocations: 44.69 kB / 1.28 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.9051, allocations: 23.56 kB / 1.28 GB, free: 186.6 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.0001696/0.9052, allocations: 198.2 kB / 1.281 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.9054, allocations: 51.44 kB / 1.281 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.9065, allocations: 0.6583 MB / 1.281 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9066, allocations: 0 / 1.281 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.9066, allocations: 4 kB / 1.281 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9066, allocations: 0 / 1.281 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.9081, allocations: 1.204 MB / 1.283 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9082, allocations: 4.625 kB / 1.283 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.9084, allocations: 72.27 kB / 1.283 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.9087, allocations: 67.42 kB / 1.283 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.9087, allocations: 14.08 kB / 1.283 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.9098, allocations: 1.561 MB / 1.284 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.9098, allocations: 8 kB / 1.284 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.9109, allocations: 0.7287 MB / 1.285 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.9109, allocations: 124.5 kB / 1.285 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.911, allocations: 11.73 kB / 1.285 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.9114, allocations: 23.8 kB / 1.285 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.9115, allocations: 43.22 kB / 1.285 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.9115, allocations: 15.98 kB / 1.285 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002965/0.9118, allocations: 355.8 kB / 1.285 GB, free: 182 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9118, allocations: 0 / 1.285 GB, free: 182 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001237/0.913, allocations: 0.5625 MB / 1.286 GB, free: 181.5 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.002731/0.9158, allocations: 1.737 MB / 1.288 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.9169, allocations: 0.6563 MB / 1.288 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9169, allocations: 0 / 1.288 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.9173, allocations: 280.5 kB / 1.289 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.9185, allocations: 302.3 kB / 1.289 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/0.9246, allocations: 5.664 MB / 1.294 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.9248, allocations: 0.8627 MB / 1.295 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.9252, allocations: 111.5 kB / 1.295 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.9254, allocations: 184.2 kB / 1.296 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9254, allocations: 4 kB / 1.296 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.9568, allocations: 27.82 MB / 1.323 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.957, allocations: 325.8 kB / 1.323 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/3.122, allocations: 4.062 kB / 1.323 GB, free: 145.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches