Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.007675/0.007675, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001659/0.001659, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.585/2.585, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62.81 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.332, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.06147/0.3935, allocations: 49.31 MB / 1.136 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02287/0.4164, allocations: 13.81 MB / 1.149 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.4198, allocations: 71.56 kB / 1.149 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.423, allocations: 0.807 MB / 1.15 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008626/0.4317, allocations: 2.25 MB / 1.152 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.4364, allocations: 1.311 MB / 1.153 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02765/0.4641, allocations: 19.6 MB / 1.173 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.018/0.4822, allocations: 9.907 MB / 1.182 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/0.4991, allocations: 6.581 MB / 1.189 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.5116, allocations: 5.751 MB / 1.194 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.004274/0.516, allocations: 0.8438 MB / 1.195 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008033/0.524, allocations: 1.604 MB / 1.197 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.005126/0.5292, allocations: 2.115 MB / 1.199 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.01063/0.5399, allocations: 4.291 MB / 1.203 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.02031/0.5602, allocations: 12.06 MB / 1.215 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.5603, allocations: 0 / 1.215 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5603, allocations: 7.938 kB / 1.215 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0005305/0.5608, allocations: 0 / 1.215 GB, free: 15.24 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.0265/0.5873, allocations: 7.721 MB / 1.222 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.5874, allocations: 8.031 kB / 1.222 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003832/0.5913, allocations: 0.7797 MB / 1.223 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/0.5968, allocations: 0.7891 MB / 1.224 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/0.6134, allocations: 6.301 MB / 1.23 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004932/0.614, allocations: 419.2 kB / 1.23 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002204/0.6162, allocations: 0.539 MB / 1.231 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.6381, allocations: 8.072 MB / 1.239 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003056/0.6384, allocations: 15.88 kB / 1.239 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/0.6404, allocations: 247.9 kB / 1.239 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.6407, allocations: 160 kB / 1.239 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.6573, allocations: 6.524 MB / 1.246 GB, free: 15.27 MB / 1.014 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.778/1.435, allocations: 31.19 MB / 1.276 GB, free: 142.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006742/1.442, allocations: 3.647 MB / 1.28 GB, free: 140.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0045/1.447, allocations: 2.794 MB / 1.282 GB, free: 139.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008617/1.448, allocations: 0.8286 MB / 1.283 GB, free: 139.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/1.448, allocations: 72.17 kB / 1.283 GB, free: 139 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 4.329e-06/1.448, allocations: 1.688 kB / 1.283 GB, free: 139 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01301/1.461, allocations: 5.76 MB / 1.289 GB, free: 137.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.461, allocations: 81.14 kB / 1.289 GB, free: 137 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/1.473, allocations: 5.24 MB / 1.294 GB, free: 135.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0008768/1.474, allocations: 76.67 kB / 1.294 GB, free: 135.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.477, allocations: 2.866 MB / 1.297 GB, free: 133.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/1.478, allocations: 0.9344 MB / 1.298 GB, free: 132.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/1.48, allocations: 0.7188 MB / 1.298 GB, free: 132.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/1.48, allocations: 303.5 kB / 1.299 GB, free: 131.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/1.483, allocations: 1.675 MB / 1.3 GB, free: 131.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/1.487, allocations: 2.934 MB / 1.303 GB, free: 129.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006829/1.494, allocations: 4.966 MB / 1.308 GB, free: 126 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-05/1.494, allocations: 11 kB / 1.308 GB, free: 126 MB / 1.014 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0106/1.504, allocations: 5.434 MB / 1.313 GB, free: 123.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/1.504, allocations: 25.47 kB / 1.313 GB, free: 123.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.298e-05/1.504, allocations: 39.59 kB / 1.313 GB, free: 123.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009756/1.505, allocations: 424 kB / 1.314 GB, free: 123.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/1.509, allocations: 0.8619 MB / 1.315 GB, free: 123.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/1.514, allocations: 5.702 MB / 1.32 GB, free: 118.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006525/1.52, allocations: 0.5177 MB / 1.321 GB, free: 118.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/1.522, allocations: 174.7 kB / 1.321 GB, free: 118.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004559/1.526, allocations: 2.293 MB / 1.323 GB, free: 116.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.528, allocations: 494.7 kB / 1.324 GB, free: 116.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006506/1.534, allocations: 4.179 MB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/1.534, allocations: 28.5 kB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.534, allocations: 7.891 kB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00433/1.539, allocations: 3.63 MB / 1.331 GB, free: 112.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.556, allocations: 10.26 MB / 1.341 GB, free: 102.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.556, allocations: 7.844 kB / 1.341 GB, free: 102.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.558, allocations: 0.4954 MB / 1.342 GB, free: 102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007882/1.559, allocations: 377.3 kB / 1.342 GB, free: 101.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/1.559, allocations: 75.95 kB / 1.342 GB, free: 101.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/1.564, allocations: 5.65 MB / 1.348 GB, free: 95.68 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.564, allocations: 4 kB / 1.348 GB, free: 95.67 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009356/1.574, allocations: 6.254 MB / 1.354 GB, free: 89.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003961/1.578, allocations: 1.092 MB / 1.355 GB, free: 88.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/1.579, allocations: 63.98 kB / 1.355 GB, free: 88.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003609/1.583, allocations: 174.2 kB / 1.355 GB, free: 87.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/1.583, allocations: 181.6 kB / 1.355 GB, free: 87.72 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/1.584, allocations: 127.9 kB / 1.356 GB, free: 87.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006272/1.59, allocations: 3.835 MB / 1.359 GB, free: 83.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.81e-07/1.59, allocations: 0 / 1.359 GB, free: 83.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00694/1.597, allocations: 1.8 MB / 1.361 GB, free: 81.99 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009357/1.606, allocations: 7.179 MB / 1.368 GB, free: 74.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005802/1.612, allocations: 4.282 MB / 1.372 GB, free: 70.37 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.612, allocations: 4 kB / 1.372 GB, free: 70.37 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/1.615, allocations: 2.042 MB / 1.374 GB, free: 68.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0172/1.632, allocations: 3.455 MB / 1.378 GB, free: 64.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07035/1.702, allocations: 46.94 MB / 1.423 GB, free: 16.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/1.705, allocations: 4.307 MB / 1.428 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005935/1.711, allocations: 1.85 MB / 1.429 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004414/1.716, allocations: 2.444 MB / 1.432 GB, free: 7.773 MB / 1.014 GB Notification: Performance of SimCode: time 1.833e-06/1.716, allocations: 0 / 1.432 GB, free: 7.773 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/1.957, allocations: 156.6 MB / 1.585 GB, free: 12.19 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.3/22.25, allocations: 11.81 kB / 1.585 GB, free: 12.18 MB / 1.17 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches