Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 102.2 kB / 16.27 MB, free: 6 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.001319/0.001319, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 469.4 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 63.14 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3483, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.5627/0.9111, allocations: 49.3 MB / 1.112 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0236/0.9347, allocations: 13.81 MB / 1.126 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004348/0.9391, allocations: 71.56 kB / 1.126 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.9424, allocations: 0.8094 MB / 1.127 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.9542, allocations: 2.253 MB / 1.129 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.9595, allocations: 1.303 MB / 1.13 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02336/0.9828, allocations: 19.59 MB / 1.149 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.9975, allocations: 9.916 MB / 1.159 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01666/1.014, allocations: 6.488 MB / 1.165 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/1.027, allocations: 5.749 MB / 1.171 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.003317/1.031, allocations: 0.8482 MB / 1.172 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008369/1.039, allocations: 1.601 MB / 1.173 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0039/1.043, allocations: 2.127 MB / 1.175 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01046/1.053, allocations: 4.28 MB / 1.18 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01505/1.069, allocations: 11.92 MB / 1.191 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.069, allocations: 0 / 1.191 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.445e-06/1.069, allocations: 3.938 kB / 1.191 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003782/1.069, allocations: 0 / 1.191 GB, free: 7.266 MB / 0.9044 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.02186/1.091, allocations: 7.734 MB / 1.199 GB, free: 15.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.091, allocations: 8.625 kB / 1.199 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/1.094, allocations: 0.7892 MB / 1.2 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/1.105, allocations: 6.045 MB / 1.205 GB, free: 8.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/1.105, allocations: 415.6 kB / 1.206 GB, free: 8.133 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/1.106, allocations: 0.5505 MB / 1.206 GB, free: 7.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/1.121, allocations: 8.072 MB / 1.214 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/1.121, allocations: 15.88 kB / 1.214 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006182/1.122, allocations: 232 kB / 1.215 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001534/1.122, allocations: 163.9 kB / 1.215 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/1.133, allocations: 6.532 MB / 1.221 GB, free: 8.328 MB / 0.9356 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.04046/1.174, allocations: 31.43 MB / 1.252 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005068/1.179, allocations: 3.644 MB / 1.255 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003574/1.183, allocations: 2.811 MB / 1.258 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000943/1.183, allocations: 0.828 MB / 1.259 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/1.184, allocations: 76.61 kB / 1.259 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=267): time 4.619e-06/1.184, allocations: 0 / 1.259 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=267): time 0.01064/1.194, allocations: 5.766 MB / 1.265 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/1.194, allocations: 85.52 kB / 1.265 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008336/1.203, allocations: 5.235 MB / 1.27 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0006038/1.203, allocations: 81.7 kB / 1.27 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002485/1.206, allocations: 2.856 MB / 1.273 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/1.207, allocations: 0.9398 MB / 1.274 GB, free: 404 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.208, allocations: 0.7114 MB / 1.274 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.208, allocations: 309 kB / 1.275 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/1.211, allocations: 1.67 MB / 1.276 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003404/1.214, allocations: 2.936 MB / 1.279 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006278/1.221, allocations: 4.97 MB / 1.284 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/1.221, allocations: 12 kB / 1.284 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008928/1.229, allocations: 5.435 MB / 1.289 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/1.23, allocations: 24 kB / 1.289 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.954e-05/1.23, allocations: 40 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000951/1.231, allocations: 424 kB / 1.29 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/1.233, allocations: 0.8541 MB / 1.291 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/1.239, allocations: 5.712 MB / 1.296 GB, free: 7.824 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.244, allocations: 0.5223 MB / 1.297 GB, free: 7.297 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006169/1.244, allocations: 180 kB / 1.297 GB, free: 7.121 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.003981/1.248, allocations: 2.28 MB / 1.299 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/1.25, allocations: 490.1 kB / 1.299 GB, free: 4.344 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006626/1.257, allocations: 4.187 MB / 1.304 GB, free: 100 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/1.257, allocations: 24 kB / 1.304 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.257, allocations: 8 kB / 1.304 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00472/1.261, allocations: 3.639 MB / 1.307 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.279, allocations: 10.28 MB / 1.317 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.279, allocations: 4 kB / 1.317 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/1.281, allocations: 0.5076 MB / 1.318 GB, free: 1.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00082/1.282, allocations: 371.9 kB / 1.318 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/1.282, allocations: 83.95 kB / 1.318 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/1.288, allocations: 5.636 MB / 1.324 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.288, allocations: 4 kB / 1.324 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009873/1.298, allocations: 6.251 MB / 1.33 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.301, allocations: 1.096 MB / 1.331 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.302, allocations: 67.92 kB / 1.331 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/1.305, allocations: 175.5 kB / 1.331 GB, free: 3.191 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/1.305, allocations: 177.6 kB / 1.331 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002549/1.305, allocations: 131.9 kB / 1.331 GB, free: 2.891 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.006021/1.311, allocations: 3.831 MB / 1.335 GB, free: 15.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.3e-07/1.311, allocations: 0 / 1.335 GB, free: 15.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00638/1.318, allocations: 1.796 MB / 1.337 GB, free: 13.27 MB / 1.061 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.001349/1.319, allocations: 0.4992 MB / 1.337 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01461/1.334, allocations: 8.064 MB / 1.345 GB, free: 4.668 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.334, allocations: 7.781 kB / 1.345 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/1.337, allocations: 2.028 MB / 1.347 GB, free: 2.605 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01576/1.352, allocations: 3.464 MB / 1.351 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.373, allocations: 12.67 MB / 1.363 GB, free: 2.516 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/1.377, allocations: 4.239 MB / 1.367 GB, free: 14.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.379, allocations: 443.3 kB / 1.367 GB, free: 13.81 MB / 1.092 GB Notification: Performance of SimCode: time 1.503e-06/1.379, allocations: 0 / 1.367 GB, free: 13.81 MB / 1.092 GB Notification: Performance of Templates: time 0.2238/1.603, allocations: 173.7 MB / 1.537 GB, free: 436 kB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches