Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001467/0.001467, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001633/0.001633, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.899/2.899, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_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.001942/0.001942, allocations: 67.27 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3181, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05212/0.3703, allocations: 50.43 MB / 1.375 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.3923, allocations: 13.99 MB / 1.389 GB, free: 1.352 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.3947, allocations: 91.25 kB / 1.389 GB, free: 1.262 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.3971, allocations: 0.8421 MB / 1.39 GB, free: 424 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.4038, allocations: 2.41 MB / 1.392 GB, free: 13.99 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.4075, allocations: 1.378 MB / 1.393 GB, free: 12.62 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02099/0.4285, allocations: 20.16 MB / 1.413 GB, free: 8.406 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009699/0.4382, allocations: 6.451 MB / 1.419 GB, free: 1.828 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01353/0.4517, allocations: 6.875 MB / 1.426 GB, free: 10.97 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.4617, allocations: 5.973 MB / 1.432 GB, free: 4.977 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002462/0.4642, allocations: 0.8438 MB / 1.433 GB, free: 4.133 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005897/0.4701, allocations: 1.69 MB / 1.434 GB, free: 2.441 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.003722/0.4738, allocations: 2.192 MB / 1.437 GB, free: 248 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.009433/0.4833, allocations: 4.303 MB / 1.441 GB, free: 11.92 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.501, allocations: 12.19 MB / 1.453 GB, free: 15.69 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.501, allocations: 4 kB / 1.453 GB, free: 15.69 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.473e-06/0.501, allocations: 0 / 1.453 GB, free: 15.69 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0004029/0.5014, allocations: 0 / 1.453 GB, free: 15.69 MB / 1.154 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.01886/0.5203, allocations: 7.857 MB / 1.46 GB, free: 7.762 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5203, allocations: 19.97 kB / 1.46 GB, free: 7.742 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002244/0.5226, allocations: 0.7603 MB / 1.461 GB, free: 6.973 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/0.5268, allocations: 0.8829 MB / 1.462 GB, free: 6.086 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01215/0.539, allocations: 6.39 MB / 1.468 GB, free: 15.61 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.5393, allocations: 415.2 kB / 1.469 GB, free: 15.21 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.5404, allocations: 0.5428 MB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01346/0.5539, allocations: 8.077 MB / 1.477 GB, free: 6.352 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.554, allocations: 11.89 kB / 1.477 GB, free: 6.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005553/0.5546, allocations: 236 kB / 1.477 GB, free: 6.109 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.5547, allocations: 171.9 kB / 1.477 GB, free: 5.941 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.5661, allocations: 6.52 MB / 1.484 GB, free: 15.41 MB / 1.186 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.04097/0.6071, allocations: 31.21 MB / 1.514 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005117/0.6122, allocations: 3.441 MB / 1.518 GB, free: 10.9 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00363/0.6159, allocations: 2.581 MB / 1.52 GB, free: 8.32 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.6165, allocations: 157.9 kB / 1.52 GB, free: 8.164 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.671e-05/0.6165, allocations: 72.67 kB / 1.52 GB, free: 8.082 MB / 1.217 GB Notification: Performance of pre-optimization done (n=267): time 4.268e-06/0.6165, allocations: 0 / 1.52 GB, free: 8.082 MB / 1.217 GB Notification: Performance of matching and sorting (n=267): time 0.01039/0.6269, allocations: 5.63 MB / 1.526 GB, free: 2.387 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.627, allocations: 85.52 kB / 1.526 GB, free: 2.289 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007928/0.6349, allocations: 5.243 MB / 1.531 GB, free: 13.04 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005428/0.6355, allocations: 77.7 kB / 1.531 GB, free: 12.96 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002513/0.638, allocations: 2.93 MB / 1.534 GB, free: 10.01 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.6393, allocations: 0.98 MB / 1.535 GB, free: 9.023 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009924/0.6403, allocations: 0.7195 MB / 1.536 GB, free: 8.297 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6404, allocations: 309 kB / 1.536 GB, free: 7.992 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.643, allocations: 1.674 MB / 1.538 GB, free: 6.316 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003436/0.6464, allocations: 2.936 MB / 1.54 GB, free: 2.828 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006361/0.6528, allocations: 4.966 MB / 1.545 GB, free: 13.27 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/0.6528, allocations: 12 kB / 1.545 GB, free: 13.26 MB / 1.248 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009045/0.6618, allocations: 5.44 MB / 1.551 GB, free: 7.766 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.6619, allocations: 24 kB / 1.551 GB, free: 7.742 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-05/0.6619, allocations: 40 kB / 1.551 GB, free: 7.703 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/0.6629, allocations: 431.5 kB / 1.551 GB, free: 7.277 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/0.6658, allocations: 0.8619 MB / 1.552 GB, free: 6.414 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/0.6718, allocations: 5.487 MB / 1.557 GB, free: 0.7031 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/0.6758, allocations: 0.5237 MB / 1.558 GB, free: 180 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/0.6763, allocations: 184.1 kB / 1.558 GB, free: 15.99 MB / 1.264 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.003956/0.6802, allocations: 2.28 MB / 1.56 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/0.6816, allocations: 0.5007 MB / 1.561 GB, free: 13.2 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006902/0.6885, allocations: 4.17 MB / 1.565 GB, free: 8.973 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.6885, allocations: 28 kB / 1.565 GB, free: 8.945 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6885, allocations: 4 kB / 1.565 GB, free: 8.941 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005118/0.6936, allocations: 3.631 MB / 1.568 GB, free: 5.195 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.7115, allocations: 10.3 MB / 1.578 GB, free: 10.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.7115, allocations: 4 kB / 1.578 GB, free: 10.73 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/0.7136, allocations: 0.4998 MB / 1.579 GB, free: 10.23 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008428/0.7144, allocations: 379.6 kB / 1.579 GB, free: 9.852 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.7146, allocations: 75.95 kB / 1.579 GB, free: 9.777 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005862/0.7205, allocations: 5.43 MB / 1.585 GB, free: 4.121 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.7205, allocations: 7.938 kB / 1.585 GB, free: 4.113 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009828/0.7303, allocations: 6.272 MB / 1.591 GB, free: 13.67 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003266/0.7336, allocations: 1.08 MB / 1.592 GB, free: 12.59 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008745/0.7345, allocations: 59.98 kB / 1.592 GB, free: 12.53 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/0.7368, allocations: 175.7 kB / 1.592 GB, free: 12.36 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/0.7371, allocations: 185.5 kB / 1.592 GB, free: 12.17 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/0.7374, allocations: 131.9 kB / 1.592 GB, free: 12.04 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005783/0.7431, allocations: 3.847 MB / 1.596 GB, free: 8.211 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7431, allocations: 4 kB / 1.596 GB, free: 8.207 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005051/0.7482, allocations: 1.821 MB / 1.598 GB, free: 6.383 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.5791/1.327, allocations: 7.164 MB / 1.605 GB, free: 258.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006688/1.334, allocations: 4.136 MB / 1.609 GB, free: 258 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.334, allocations: 7.5 kB / 1.609 GB, free: 258 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/1.336, allocations: 1.929 MB / 1.611 GB, free: 257.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/1.35, allocations: 3.454 MB / 1.614 GB, free: 256.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05697/1.407, allocations: 47.19 MB / 1.66 GB, free: 232.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002669/1.409, allocations: 4.307 MB / 1.664 GB, free: 228.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004569/1.414, allocations: 1.853 MB / 1.666 GB, free: 226.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/1.416, allocations: 2.448 MB / 1.669 GB, free: 224.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.41e-07/1.416, allocations: 0 / 1.669 GB, free: 224.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/1.603, allocations: 157.8 MB / 1.823 GB, free: 67.54 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.56/22.16, allocations: 10.05 kB / 1.823 GB, free: 67.54 MB / 1.295 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 28.663980775047094]