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.007752/0.007752, allocations: 100.8 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.001847/0.001847, allocations: 191.4 kB / 16.67 MB, free: 5.98 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.573/2.573, allocations: 390.3 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 70.78 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3212, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05789/0.3791, allocations: 49.3 MB / 1.136 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.4027, allocations: 13.83 MB / 1.149 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004499/0.4073, allocations: 67.62 kB / 1.149 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.411, allocations: 0.8188 MB / 1.15 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008652/0.4197, allocations: 2.357 MB / 1.152 GB, free: 15.4 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.4238, allocations: 1.308 MB / 1.154 GB, free: 14.1 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02531/0.4492, allocations: 19.62 MB / 1.173 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0141/0.4633, allocations: 9.911 MB / 1.182 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01528/0.4787, allocations: 6.591 MB / 1.189 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01376/0.4925, allocations: 5.762 MB / 1.194 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.003581/0.4961, allocations: 0.8438 MB / 1.195 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007079/0.5032, allocations: 1.604 MB / 1.197 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003548/0.5068, allocations: 2.111 MB / 1.199 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.009351/0.5161, allocations: 4.287 MB / 1.203 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.5332, allocations: 12.06 MB / 1.215 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.5333, allocations: 0 / 1.215 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.057e-06/0.5333, allocations: 4 kB / 1.215 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004436/0.5338, allocations: 0 / 1.215 GB, free: 15.06 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.02195/0.5557, allocations: 7.725 MB / 1.222 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5558, allocations: 12.02 kB / 1.222 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001947/0.5577, allocations: 0.7642 MB / 1.223 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.561, allocations: 0.7891 MB / 1.224 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.5745, allocations: 6.303 MB / 1.23 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/0.5749, allocations: 423.2 kB / 1.231 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.5766, allocations: 0.539 MB / 1.231 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.5959, allocations: 8.072 MB / 1.239 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002216/0.5962, allocations: 15.92 kB / 1.239 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/0.5976, allocations: 236 kB / 1.239 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/0.5978, allocations: 167.9 kB / 1.239 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.6125, allocations: 6.52 MB / 1.246 GB, free: 15.11 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.7671/1.38, allocations: 31.2 MB / 1.276 GB, free: 142.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008143/1.388, allocations: 3.646 MB / 1.28 GB, free: 140.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005012/1.393, allocations: 2.793 MB / 1.282 GB, free: 139.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009663/1.394, allocations: 0.8296 MB / 1.283 GB, free: 139.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/1.394, allocations: 66.64 kB / 1.283 GB, free: 139 MB / 1.014 GB Notification: Performance of pre-optimization done (n=267): time 4.449e-06/1.394, allocations: 0 / 1.283 GB, free: 139 MB / 1.014 GB Notification: Performance of matching and sorting (n=267): time 0.01297/1.407, allocations: 5.764 MB / 1.289 GB, free: 137.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.407, allocations: 80.02 kB / 1.289 GB, free: 137 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01205/1.419, allocations: 5.238 MB / 1.294 GB, free: 135.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.42, allocations: 83.83 kB / 1.294 GB, free: 135.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.003239/1.423, allocations: 2.866 MB / 1.297 GB, free: 133.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002491/1.426, allocations: 0.935 MB / 1.298 GB, free: 132.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/1.428, allocations: 0.7133 MB / 1.299 GB, free: 132 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/1.428, allocations: 302.2 kB / 1.299 GB, free: 131.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/1.431, allocations: 1.677 MB / 1.301 GB, free: 131.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/1.435, allocations: 2.933 MB / 1.303 GB, free: 129.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/1.441, allocations: 4.965 MB / 1.308 GB, free: 126 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.328e-05/1.441, allocations: 11.25 kB / 1.308 GB, free: 126 MB / 1.014 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008849/1.45, allocations: 5.436 MB / 1.314 GB, free: 123.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/1.45, allocations: 28.25 kB / 1.314 GB, free: 123.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/1.45, allocations: 43.39 kB / 1.314 GB, free: 123.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008875/1.451, allocations: 419.4 kB / 1.314 GB, free: 123.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/1.454, allocations: 0.8557 MB / 1.315 GB, free: 123.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004728/1.458, allocations: 5.703 MB / 1.32 GB, free: 118.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/1.463, allocations: 0.521 MB / 1.321 GB, free: 118.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/1.464, allocations: 181.1 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.004452/1.468, allocations: 2.291 MB / 1.323 GB, free: 116.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/1.47, allocations: 490.8 kB / 1.324 GB, free: 116.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/1.476, allocations: 4.177 MB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/1.476, allocations: 31.42 kB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.476, allocations: 3.5 kB / 1.328 GB, free: 114.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004277/1.48, allocations: 3.638 MB / 1.332 GB, free: 112.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01826/1.499, allocations: 10.25 MB / 1.342 GB, free: 102.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.499, allocations: 8 kB / 1.342 GB, free: 102.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.501, allocations: 0.4962 MB / 1.342 GB, free: 101.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007545/1.501, allocations: 371.2 kB / 1.342 GB, free: 101.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/1.502, allocations: 79.95 kB / 1.342 GB, free: 101.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/1.506, allocations: 5.647 MB / 1.348 GB, free: 95.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.506, allocations: 7.984 kB / 1.348 GB, free: 95.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008358/1.514, allocations: 6.258 MB / 1.354 GB, free: 89.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/1.517, allocations: 1.092 MB / 1.355 GB, free: 87.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.518, allocations: 63.92 kB / 1.355 GB, free: 87.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.521, allocations: 166.4 kB / 1.355 GB, free: 87.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/1.522, allocations: 177.6 kB / 1.356 GB, free: 87.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/1.522, allocations: 131.9 kB / 1.356 GB, free: 87.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005614/1.528, allocations: 3.843 MB / 1.359 GB, free: 83.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.11e-07/1.528, allocations: 0 / 1.359 GB, free: 83.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006527/1.534, allocations: 1.8 MB / 1.361 GB, free: 81.82 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.008954/1.543, allocations: 7.184 MB / 1.368 GB, free: 74.51 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006011/1.549, allocations: 4.278 MB / 1.372 GB, free: 70.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.549, allocations: 4 kB / 1.372 GB, free: 70.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/1.552, allocations: 2.038 MB / 1.374 GB, free: 68.13 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01536/1.567, allocations: 3.462 MB / 1.378 GB, free: 64.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06841/1.635, allocations: 46.93 MB / 1.424 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003185/1.639, allocations: 4.303 MB / 1.428 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005142/1.644, allocations: 1.852 MB / 1.43 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002997/1.647, allocations: 2.452 MB / 1.432 GB, free: 7.594 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.647, allocations: 0 / 1.432 GB, free: 7.594 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2547/1.902, allocations: 154.1 MB / 1.582 GB, free: 14.45 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.96/22.87, allocations: 7.75 kB / 1.582 GB, free: 14.44 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