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.001667/0.001667, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001715/0.001715, allocations: 214.2 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] 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 2.969/2.969, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.41 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3066, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05104/0.3576, allocations: 45.48 MB / 1.408 GB, free: 464 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.3779, allocations: 12.96 MB / 1.42 GB, free: 3.453 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.3802, allocations: 91.25 kB / 1.421 GB, free: 3.363 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.3826, allocations: 0.8109 MB / 1.421 GB, free: 2.547 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006339/0.389, allocations: 2.387 MB / 1.424 GB, free: 152 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.3924, allocations: 1.347 MB / 1.425 GB, free: 14.81 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02266/0.415, allocations: 20.36 MB / 1.445 GB, free: 10.39 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.4251, allocations: 6.459 MB / 1.451 GB, free: 3.809 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.4374, allocations: 6.931 MB / 1.458 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009788/0.4471, allocations: 6.285 MB / 1.464 GB, free: 6.59 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001658/0.4488, allocations: 0.8438 MB / 1.465 GB, free: 5.746 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004027/0.4528, allocations: 1.483 MB / 1.466 GB, free: 4.262 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.4549, allocations: 2.204 MB / 1.469 GB, free: 2.051 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005381/0.4603, allocations: 3.521 MB / 1.472 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.4738, allocations: 12.22 MB / 1.484 GB, free: 2.254 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4738, allocations: 0 / 1.484 GB, free: 2.254 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.574e-06/0.4738, allocations: 4 kB / 1.484 GB, free: 2.25 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003313/0.4741, allocations: 3.938 kB / 1.484 GB, free: 2.246 MB / 1.17 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.01573/0.4899, allocations: 7.846 MB / 1.492 GB, free: 10.33 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4899, allocations: 8.031 kB / 1.492 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.4911, allocations: 0.7642 MB / 1.492 GB, free: 9.547 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/0.494, allocations: 0.8828 MB / 1.493 GB, free: 8.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.5064, allocations: 6.398 MB / 1.499 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/0.5068, allocations: 418.4 kB / 1.5 GB, free: 1.773 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.5082, allocations: 0.5429 MB / 1.5 GB, free: 1.23 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.523, allocations: 9.131 MB / 1.509 GB, free: 7.602 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.5231, allocations: 19.83 kB / 1.509 GB, free: 7.582 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005826/0.5237, allocations: 232 kB / 1.509 GB, free: 7.355 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.5239, allocations: 168 kB / 1.51 GB, free: 7.191 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.5349, allocations: 6.512 MB / 1.516 GB, free: 0.668 MB / 1.201 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.03722/0.5722, allocations: 23.33 MB / 1.539 GB, free: 8.93 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005495/0.5776, allocations: 3.427 MB / 1.542 GB, free: 5.508 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003815/0.5815, allocations: 2.59 MB / 1.545 GB, free: 2.91 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000603/0.5821, allocations: 142 kB / 1.545 GB, free: 2.77 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.624e-05/0.5821, allocations: 76.61 kB / 1.545 GB, free: 2.684 MB / 1.232 GB Notification: Performance of pre-optimization done (n=267): time 4.739e-06/0.5821, allocations: 0 / 1.545 GB, free: 2.684 MB / 1.232 GB Notification: Performance of matching and sorting (n=267): time 0.01041/0.5926, allocations: 5.623 MB / 1.55 GB, free: 13 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.5926, allocations: 85.45 kB / 1.55 GB, free: 12.9 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0077/0.6003, allocations: 5.317 MB / 1.556 GB, free: 7.586 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004446/0.6008, allocations: 81.7 kB / 1.556 GB, free: 7.5 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.6033, allocations: 2.934 MB / 1.559 GB, free: 4.543 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.6045, allocations: 0.98 MB / 1.56 GB, free: 3.555 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.6055, allocations: 0.7156 MB / 1.56 GB, free: 2.832 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6057, allocations: 305.1 kB / 1.561 GB, free: 2.531 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/0.6082, allocations: 1.674 MB / 1.562 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/0.6118, allocations: 3.04 MB / 1.565 GB, free: 13.24 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006454/0.6183, allocations: 4.962 MB / 1.57 GB, free: 7.688 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/0.6183, allocations: 12 kB / 1.57 GB, free: 7.676 MB / 1.264 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008903/0.6272, allocations: 5.44 MB / 1.575 GB, free: 2.184 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.6272, allocations: 31.94 kB / 1.575 GB, free: 2.152 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/0.6273, allocations: 40 kB / 1.575 GB, free: 2.113 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009276/0.6282, allocations: 419 kB / 1.576 GB, free: 1.699 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/0.631, allocations: 0.858 MB / 1.577 GB, free: 0.8398 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/0.637, allocations: 5.417 MB / 1.582 GB, free: 11.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004125/0.6411, allocations: 0.5316 MB / 1.582 GB, free: 10.66 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/0.6416, allocations: 184 kB / 1.583 GB, free: 10.48 MB / 1.279 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.003768/0.6453, allocations: 2.28 MB / 1.585 GB, free: 8.191 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/0.6467, allocations: 0.5046 MB / 1.585 GB, free: 7.684 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006874/0.6535, allocations: 4.17 MB / 1.589 GB, free: 3.457 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.6536, allocations: 24 kB / 1.589 GB, free: 3.434 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.6536, allocations: 8 kB / 1.589 GB, free: 3.426 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005209/0.6588, allocations: 3.624 MB / 1.593 GB, free: 15.69 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.6763, allocations: 9.541 MB / 1.602 GB, free: 5.977 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.6763, allocations: 4 kB / 1.602 GB, free: 5.973 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002109/0.6784, allocations: 0.5038 MB / 1.603 GB, free: 5.469 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/0.6793, allocations: 379.2 kB / 1.603 GB, free: 5.094 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.6795, allocations: 75.97 kB / 1.603 GB, free: 5.02 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5403/1.22, allocations: 5.366 MB / 1.608 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.22, allocations: 7.812 kB / 1.608 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0095/1.229, allocations: 6.26 MB / 1.615 GB, free: 223.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/1.232, allocations: 1.077 MB / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000754/1.233, allocations: 59.77 kB / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.236, allocations: 180 kB / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/1.236, allocations: 181.3 kB / 1.616 GB, free: 223.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002827/1.236, allocations: 131.3 kB / 1.616 GB, free: 223.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005465/1.242, allocations: 3.847 MB / 1.62 GB, free: 222 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.242, allocations: 3.125 kB / 1.62 GB, free: 222 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005401/1.247, allocations: 1.816 MB / 1.622 GB, free: 221.9 MB / 1.295 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.01022/1.257, allocations: 7.189 MB / 1.629 GB, free: 218.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006341/1.264, allocations: 4.131 MB / 1.633 GB, free: 217.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.264, allocations: 3.281 kB / 1.633 GB, free: 217.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/1.266, allocations: 1.931 MB / 1.635 GB, free: 216.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01368/1.28, allocations: 3.456 MB / 1.638 GB, free: 215.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05436/1.334, allocations: 47.18 MB / 1.684 GB, free: 182.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/1.337, allocations: 3.808 MB / 1.688 GB, free: 178.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005087/1.342, allocations: 1.85 MB / 1.69 GB, free: 177.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/1.345, allocations: 2.444 MB / 1.692 GB, free: 174.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.323e-06/1.345, allocations: 0 / 1.692 GB, free: 174.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1879/1.533, allocations: 164.9 MB / 1.853 GB, free: 11.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/18.44, allocations: 11.89 kB / 1.853 GB, free: 11.59 MB / 1.295 GB " [Timeout remaining time 281] (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/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: 24.969043205026537]