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.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: 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.00112/0.00112, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001136/0.001136, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.34 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05408/0.388, allocations: 49.32 MB / 1.075 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6084/0.9965, allocations: 13.8 MB / 1.088 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.9997, allocations: 70.7 kB / 1.088 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/1.002, allocations: 0.812 MB / 1.089 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007607/1.01, allocations: 2.251 MB / 1.091 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/1.014, allocations: 1.313 MB / 1.093 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02288/1.037, allocations: 19.59 MB / 1.112 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01457/1.051, allocations: 9.918 MB / 1.122 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01817/1.069, allocations: 6.509 MB / 1.128 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01438/1.084, allocations: 5.75 MB / 1.133 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003636/1.088, allocations: 0.8451 MB / 1.134 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/1.098, allocations: 1.614 MB / 1.136 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005829/1.104, allocations: 2.114 MB / 1.138 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01408/1.118, allocations: 4.284 MB / 1.142 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02057/1.139, allocations: 12.05 MB / 1.154 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.139, allocations: 0 / 1.154 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/1.139, allocations: 0 / 1.154 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.00053/1.139, allocations: 0 / 1.154 GB, free: 1.406 MB / 0.8575 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.02366/1.163, allocations: 7.732 MB / 1.161 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.163, allocations: 8.031 kB / 1.161 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004457/1.168, allocations: 0.7852 MB / 1.162 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/1.182, allocations: 6.316 MB / 1.168 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/1.182, allocations: 415.6 kB / 1.169 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/1.184, allocations: 0.5415 MB / 1.169 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/1.204, allocations: 8.075 MB / 1.177 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002386/1.205, allocations: 19.78 kB / 1.177 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001737/1.206, allocations: 235.2 kB / 1.177 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.207, allocations: 167.9 kB / 1.178 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/1.221, allocations: 6.524 MB / 1.184 GB, free: 4.391 MB / 0.8887 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.05052/1.271, allocations: 31.2 MB / 1.214 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006394/1.278, allocations: 3.645 MB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004518/1.282, allocations: 2.808 MB / 1.221 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.283, allocations: 0.8258 MB / 1.222 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/1.284, allocations: 76.61 kB / 1.222 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=267): time 4.649e-06/1.284, allocations: 4 kB / 1.222 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=267): time 0.01239/1.296, allocations: 5.763 MB / 1.227 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/1.296, allocations: 77.52 kB / 1.227 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/1.307, allocations: 5.239 MB / 1.232 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0007558/1.307, allocations: 77.7 kB / 1.233 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002977/1.31, allocations: 2.872 MB / 1.235 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/1.312, allocations: 0.9316 MB / 1.236 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/1.314, allocations: 0.719 MB / 1.237 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/1.314, allocations: 309 kB / 1.237 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/1.317, allocations: 1.678 MB / 1.239 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003653/1.321, allocations: 2.928 MB / 1.242 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/1.327, allocations: 4.966 MB / 1.247 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-05/1.327, allocations: 12 kB / 1.247 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01005/1.337, allocations: 5.44 MB / 1.252 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/1.338, allocations: 20.22 kB / 1.252 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.497e-05/1.338, allocations: 44 kB / 1.252 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.339, allocations: 415.9 kB / 1.252 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/1.342, allocations: 0.8619 MB / 1.253 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00566/1.347, allocations: 5.697 MB / 1.259 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004898/1.352, allocations: 0.5183 MB / 1.259 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006602/1.353, allocations: 172 kB / 1.259 GB, free: 3.793 MB / 0.9669 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.004638/1.358, allocations: 2.296 MB / 1.262 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/1.36, allocations: 486.1 kB / 1.262 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007937/1.368, allocations: 4.184 MB / 1.266 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/1.368, allocations: 27.98 kB / 1.266 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.368, allocations: 4 kB / 1.266 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005166/1.373, allocations: 3.639 MB / 1.27 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.394, allocations: 10.26 MB / 1.28 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.394, allocations: 4 kB / 1.28 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/1.396, allocations: 0.4998 MB / 1.28 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008744/1.397, allocations: 373.5 kB / 1.281 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002717/1.398, allocations: 75.97 kB / 1.281 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005516/1.403, allocations: 5.642 MB / 1.286 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.403, allocations: 8 kB / 1.286 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.413, allocations: 6.25 MB / 1.292 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003934/1.417, allocations: 1.092 MB / 1.293 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/1.419, allocations: 67.92 kB / 1.294 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003923/1.423, allocations: 183.7 kB / 1.294 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004319/1.423, allocations: 169.6 kB / 1.294 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004291/1.424, allocations: 131.9 kB / 1.294 GB, free: 15.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.007704/1.432, allocations: 3.839 MB / 1.298 GB, free: 11.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.01e-07/1.432, allocations: 0 / 1.298 GB, free: 11.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.007417/1.439, allocations: 1.8 MB / 1.299 GB, free: 10.04 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.001683/1.441, allocations: 485.7 kB / 1.3 GB, free: 9.574 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008656/1.449, allocations: 4.284 MB / 1.304 GB, free: 5.246 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-05/1.45, allocations: 9.781 kB / 1.304 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004027/1.454, allocations: 2.032 MB / 1.306 GB, free: 3.176 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01804/1.472, allocations: 3.456 MB / 1.31 GB, free: 15.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.498, allocations: 12.49 MB / 1.322 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006685/1.505, allocations: 4.301 MB / 1.326 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.007085/1.512, allocations: 1.869 MB / 1.328 GB, free: 13.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002333/1.515, allocations: 415.2 kB / 1.328 GB, free: 12.69 MB / 1.045 GB Notification: Performance of SimCode: time 1.333e-06/1.515, allocations: 0 / 1.328 GB, free: 12.69 MB / 1.045 GB Notification: Performance of Templates: time 0.1811/1.696, allocations: 111.7 MB / 1.437 GB, free: 14.06 MB / 1.154 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 -s gbode -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