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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.279/3.279, allocations: 497.2 MB / 0.7811 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 68.02 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.376, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05949/0.4355, allocations: 49.74 MB / 1.353 GB, free: 15.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.4569, allocations: 13.89 MB / 1.366 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.4601, allocations: 67.62 kB / 1.366 GB, free: 1.602 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.463, allocations: 0.8304 MB / 1.367 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007077/0.47, allocations: 2.352 MB / 1.369 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.4736, allocations: 1.312 MB / 1.371 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.02116/0.4948, allocations: 19.64 MB / 1.39 GB, free: 9.406 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.5062, allocations: 8.192 MB / 1.398 GB, free: 1.09 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/0.5203, allocations: 6.779 MB / 1.404 GB, free: 10.34 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.5314, allocations: 5.965 MB / 1.41 GB, free: 4.348 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002828/0.5342, allocations: 0.8476 MB / 1.411 GB, free: 3.5 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006219/0.5404, allocations: 1.628 MB / 1.413 GB, free: 1.871 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00408/0.5445, allocations: 2.2 MB / 1.415 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.009753/0.5542, allocations: 4.31 MB / 1.419 GB, free: 11.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01783/0.5721, allocations: 12.13 MB / 1.431 GB, free: 15.16 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5721, allocations: 0 / 1.431 GB, free: 15.16 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5721, allocations: 0 / 1.431 GB, free: 15.16 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003456/0.5724, allocations: 0 / 1.431 GB, free: 15.16 MB / 1.139 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.01893/0.5913, allocations: 7.925 MB / 1.439 GB, free: 7.152 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5914, allocations: 8.922 kB / 1.439 GB, free: 7.145 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001969/0.5934, allocations: 0.7642 MB / 1.439 GB, free: 6.371 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.5965, allocations: 0.8166 MB / 1.44 GB, free: 5.551 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/0.6115, allocations: 6.361 MB / 1.446 GB, free: 15.13 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004535/0.612, allocations: 419.1 kB / 1.447 GB, free: 14.72 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.6139, allocations: 0.5429 MB / 1.447 GB, free: 14.18 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.632, allocations: 8.072 MB / 1.455 GB, free: 5.863 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.6322, allocations: 11.94 kB / 1.455 GB, free: 5.852 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008391/0.633, allocations: 236 kB / 1.455 GB, free: 5.621 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.6332, allocations: 163.9 kB / 1.455 GB, free: 5.461 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.6483, allocations: 6.528 MB / 1.462 GB, free: 14.92 MB / 1.17 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.05539/0.7037, allocations: 31.31 MB / 1.492 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/0.7098, allocations: 3.447 MB / 1.496 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004189/0.714, allocations: 2.577 MB / 1.498 GB, free: 7.754 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.7151, allocations: 0.828 MB / 1.499 GB, free: 6.758 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.362e-05/0.7152, allocations: 72.67 kB / 1.499 GB, free: 6.676 MB / 1.201 GB Notification: Performance of pre-optimization done (n=267): time 4.399e-06/0.7152, allocations: 3.938 kB / 1.499 GB, free: 6.672 MB / 1.201 GB Notification: Performance of matching and sorting (n=267): time 0.01242/0.7276, allocations: 5.781 MB / 1.505 GB, free: 0.793 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.7277, allocations: 77.52 kB / 1.505 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009513/0.7372, allocations: 5.232 MB / 1.51 GB, free: 11.47 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0006492/0.7378, allocations: 81.7 kB / 1.51 GB, free: 11.39 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.003033/0.7409, allocations: 2.938 MB / 1.513 GB, free: 8.426 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.7425, allocations: 0.98 MB / 1.514 GB, free: 7.438 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.7436, allocations: 0.7156 MB / 1.515 GB, free: 6.715 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7438, allocations: 309 kB / 1.515 GB, free: 6.41 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/0.7467, allocations: 1.678 MB / 1.517 GB, free: 4.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/0.7508, allocations: 2.94 MB / 1.519 GB, free: 1.238 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007711/0.7585, allocations: 4.959 MB / 1.524 GB, free: 11.68 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.54e-05/0.7586, allocations: 12 kB / 1.524 GB, free: 11.67 MB / 1.232 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01152/0.7701, allocations: 5.447 MB / 1.53 GB, free: 6.172 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/0.7701, allocations: 24.94 kB / 1.53 GB, free: 6.148 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.486e-05/0.7702, allocations: 36 kB / 1.53 GB, free: 6.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.7712, allocations: 429.2 kB / 1.53 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/0.7747, allocations: 0.858 MB / 1.531 GB, free: 4.828 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007227/0.7819, allocations: 5.695 MB / 1.536 GB, free: 14.86 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004673/0.7866, allocations: 0.5237 MB / 1.537 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006891/0.7873, allocations: 184 kB / 1.537 GB, free: 14.16 MB / 1.248 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.004864/0.7922, allocations: 2.292 MB / 1.539 GB, free: 11.85 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/0.7939, allocations: 0.5048 MB / 1.54 GB, free: 11.34 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.8047, allocations: 4.169 MB / 1.544 GB, free: 7.117 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/0.8047, allocations: 31.94 kB / 1.544 GB, free: 7.086 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8047, allocations: 4 kB / 1.544 GB, free: 7.082 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007209/0.8119, allocations: 3.624 MB / 1.548 GB, free: 3.344 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02685/0.8388, allocations: 10.26 MB / 1.558 GB, free: 8.906 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.8388, allocations: 8 kB / 1.558 GB, free: 8.898 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/0.841, allocations: 0.4954 MB / 1.558 GB, free: 8.402 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009796/0.842, allocations: 374.4 kB / 1.558 GB, free: 8.031 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.8422, allocations: 79.95 kB / 1.558 GB, free: 7.953 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/0.8491, allocations: 5.637 MB / 1.564 GB, free: 2.043 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-05/0.8491, allocations: 15.86 kB / 1.564 GB, free: 2.027 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.8611, allocations: 6.257 MB / 1.57 GB, free: 11.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004125/0.8652, allocations: 1.126 MB / 1.571 GB, free: 10.45 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/0.8667, allocations: 63.98 kB / 1.571 GB, free: 10.39 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/0.8703, allocations: 167.9 kB / 1.571 GB, free: 10.23 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004849/0.8708, allocations: 177.6 kB / 1.572 GB, free: 10.05 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004874/0.8713, allocations: 127.9 kB / 1.572 GB, free: 9.926 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008649/0.8799, allocations: 3.847 MB / 1.575 GB, free: 6.094 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8799, allocations: 0 / 1.575 GB, free: 6.094 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008132/0.8881, allocations: 1.821 MB / 1.577 GB, free: 4.27 MB / 1.279 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.01507/0.9031, allocations: 7.19 MB / 1.584 GB, free: 12.91 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008807/0.9119, allocations: 4.136 MB / 1.588 GB, free: 8.73 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/0.912, allocations: 4 kB / 1.588 GB, free: 8.727 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.916, allocations: 1.923 MB / 1.59 GB, free: 6.773 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0189/0.9349, allocations: 3.447 MB / 1.594 GB, free: 3.422 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8793/1.814, allocations: 47.1 MB / 1.64 GB, free: 274.7 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004488/1.819, allocations: 4.302 MB / 1.644 GB, free: 273.2 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.006432/1.825, allocations: 1.857 MB / 1.646 GB, free: 273.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004173/1.829, allocations: 2.449 MB / 1.648 GB, free: 271.3 MB / 1.311 GB Notification: Performance of SimCode: time 1.934e-06/1.829, allocations: 0 / 1.648 GB, free: 271.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2116/2.041, allocations: 154.7 MB / 1.799 GB, free: 126.9 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/23.43, allocations: 11.05 kB / 1.799 GB, free: 126.8 MB / 1.311 GB " [Timeout remaining time 276] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 30.839491744991392]