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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8984/0.8984, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.759/1.759, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.553e-06/1.553e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.721e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.02945/0.02946, allocations: 45.1 MB / 1.044 GB, free: 228 kB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.5278/0.5573, allocations: 12.9 MB / 1.056 GB, free: 43.77 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.5583, allocations: 89.41 kB / 1.056 GB, free: 43.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.5595, allocations: 0.8108 MB / 1.057 GB, free: 43.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.5625, allocations: 2.457 MB / 1.06 GB, free: 43.28 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.5642, allocations: 1.4 MB / 1.061 GB, free: 43.23 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.009818/0.574, allocations: 20.48 MB / 1.081 GB, free: 34.36 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007015/0.581, allocations: 6.147 MB / 1.087 GB, free: 31.64 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/0.5969, allocations: 9.427 MB / 1.096 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.6095, allocations: 5.745 MB / 1.102 GB, free: 26.26 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001661/0.6111, allocations: 0.8435 MB / 1.103 GB, free: 26.26 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.6152, allocations: 1.499 MB / 1.104 GB, free: 26.08 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.6169, allocations: 2.258 MB / 1.106 GB, free: 24.8 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.003796/0.6207, allocations: 3.052 MB / 1.109 GB, free: 23.58 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.6349, allocations: 12.33 MB / 1.121 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.6349, allocations: 1.219 kB / 1.121 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6349, allocations: 0 / 1.121 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005121/0.6354, allocations: 0 / 1.121 GB, free: 19.76 MB / 0.9948 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.01463/0.65, allocations: 7.775 MB / 1.129 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.6501, allocations: 10.41 kB / 1.129 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008262/0.6509, allocations: 0.7664 MB / 1.13 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.6529, allocations: 0.8803 MB / 1.13 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008626/0.6615, allocations: 6.38 MB / 1.137 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.6618, allocations: 419.1 kB / 1.137 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006845/0.6625, allocations: 0.5372 MB / 1.138 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.673, allocations: 9.138 MB / 1.147 GB, free: 7.219 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.222e-05/0.6731, allocations: 17.23 kB / 1.147 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/0.6735, allocations: 238.8 kB / 1.147 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.6737, allocations: 167.3 kB / 1.147 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007627/0.6813, allocations: 6.516 MB / 1.153 GB, free: 4.691 MB / 0.9948 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.0225/0.7038, allocations: 23.31 MB / 1.176 GB, free: 4.609 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.7072, allocations: 3.429 MB / 1.179 GB, free: 1.543 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/0.7096, allocations: 2.586 MB / 1.182 GB, free: 14.96 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/0.71, allocations: 146 kB / 1.182 GB, free: 14.82 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.71, allocations: 76.66 kB / 1.182 GB, free: 14.73 MB / 1.026 GB Notification: Performance of pre-optimization done (n=267): time 4.078e-06/0.71, allocations: 0 / 1.182 GB, free: 14.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=267): time 0.007272/0.7173, allocations: 5.623 MB / 1.188 GB, free: 9.051 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.7173, allocations: 81.52 kB / 1.188 GB, free: 8.957 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/0.7224, allocations: 5.305 MB / 1.193 GB, free: 3.652 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.7226, allocations: 81.7 kB / 1.193 GB, free: 3.566 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.7242, allocations: 2.916 MB / 1.196 GB, free: 0.6406 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008221/0.725, allocations: 0.973 MB / 1.197 GB, free: 15.68 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006938/0.7257, allocations: 0.7117 MB / 1.197 GB, free: 14.96 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.7258, allocations: 305.1 kB / 1.198 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.7275, allocations: 1.67 MB / 1.199 GB, free: 12.98 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002259/0.7298, allocations: 3.036 MB / 1.202 GB, free: 9.367 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/0.7341, allocations: 4.966 MB / 1.207 GB, free: 3.809 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.7341, allocations: 8 kB / 1.207 GB, free: 3.801 MB / 1.042 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005592/0.7397, allocations: 5.454 MB / 1.213 GB, free: 14.3 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.7397, allocations: 20 kB / 1.213 GB, free: 14.28 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.7397, allocations: 40 kB / 1.213 GB, free: 14.24 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.7403, allocations: 420.1 kB / 1.213 GB, free: 13.83 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.7418, allocations: 0.8619 MB / 1.214 GB, free: 12.96 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.7455, allocations: 5.425 MB / 1.219 GB, free: 7.328 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.7479, allocations: 0.5353 MB / 1.22 GB, free: 6.789 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.7481, allocations: 175.9 kB / 1.22 GB, free: 6.617 MB / 1.057 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.002576/0.7507, allocations: 2.288 MB / 1.222 GB, free: 4.316 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/0.7512, allocations: 0.4969 MB / 1.223 GB, free: 3.816 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.7554, allocations: 4.164 MB / 1.227 GB, free: 15.59 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.7554, allocations: 35.98 kB / 1.227 GB, free: 15.56 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7554, allocations: 8 kB / 1.227 GB, free: 15.55 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003197/0.7586, allocations: 3.612 MB / 1.23 GB, free: 11.82 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009722/0.7683, allocations: 9.553 MB / 1.24 GB, free: 2.172 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.7684, allocations: 4.562 kB / 1.24 GB, free: 2.168 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.7696, allocations: 0.5032 MB / 1.24 GB, free: 1.664 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006304/0.7702, allocations: 373.3 kB / 1.24 GB, free: 1.293 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.7703, allocations: 79.95 kB / 1.24 GB, free: 1.215 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.7739, allocations: 5.355 MB / 1.246 GB, free: 11.65 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7739, allocations: 8 kB / 1.246 GB, free: 11.64 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/0.7798, allocations: 6.257 MB / 1.252 GB, free: 5.215 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/0.7813, allocations: 1.076 MB / 1.253 GB, free: 4.137 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/0.7817, allocations: 59.98 kB / 1.253 GB, free: 4.078 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.783, allocations: 171.9 kB / 1.253 GB, free: 3.91 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.7833, allocations: 189.5 kB / 1.253 GB, free: 3.727 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.7834, allocations: 135.8 kB / 1.253 GB, free: 3.594 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.003626/0.787, allocations: 3.839 MB / 1.257 GB, free: 15.77 MB / 1.104 GB Notification: Performance of sort global known variables: time 2.41e-07/0.787, allocations: 0 / 1.257 GB, free: 15.77 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.003565/0.7906, allocations: 1.825 MB / 1.259 GB, free: 13.94 MB / 1.104 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.006306/0.7969, allocations: 7.179 MB / 1.266 GB, free: 6.605 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.00399/0.8009, allocations: 4.135 MB / 1.27 GB, free: 2.445 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.8009, allocations: 4 kB / 1.27 GB, free: 2.441 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.8025, allocations: 1.926 MB / 1.272 GB, free: 496 kB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006973/0.8095, allocations: 3.435 MB / 1.275 GB, free: 13.15 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04986/0.8594, allocations: 46.99 MB / 1.321 GB, free: 12.49 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002855/0.8622, allocations: 3.808 MB / 1.325 GB, free: 8.645 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004319/0.8665, allocations: 1.903 MB / 1.327 GB, free: 6.754 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/0.8688, allocations: 2.445 MB / 1.329 GB, free: 4.305 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/0.8688, allocations: 0 / 1.329 GB, free: 4.305 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1555/1.024, allocations: 163.9 MB / 1.489 GB, free: 2.348 MB / 1.323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.67, allocations: 2.812 kB / 1.489 GB, free: 2.348 MB / 1.323 GB " [Timeout remaining time 287] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 17.01014353428036]