Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001469/0.001469, allocations: 113 kB / 18.94 MB, free: 2.934 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.001636/0.001636, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 8.016 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 3.007/3.007, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.001859/0.001859, allocations: 64.77 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3167, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05995/0.3766, allocations: 57.28 MB / 1.409 GB, free: 14.98 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02365/0.4003, allocations: 18.21 MB / 1.427 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.4027, allocations: 103.2 kB / 1.427 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.405, allocations: 0.9196 MB / 1.428 GB, free: 11.69 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006862/0.4119, allocations: 2.682 MB / 1.43 GB, free: 8.996 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.4155, allocations: 1.598 MB / 1.432 GB, free: 7.406 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02293/0.4385, allocations: 21.83 MB / 1.453 GB, free: 1.516 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01064/0.4491, allocations: 7.093 MB / 1.46 GB, free: 10.3 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01426/0.4634, allocations: 7.542 MB / 1.467 GB, free: 2.781 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.474, allocations: 6.58 MB / 1.474 GB, free: 12.18 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002569/0.4765, allocations: 0.9375 MB / 1.475 GB, free: 11.24 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005662/0.4822, allocations: 1.78 MB / 1.476 GB, free: 9.457 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003671/0.4859, allocations: 2.434 MB / 1.479 GB, free: 7.016 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.009335/0.4952, allocations: 4.727 MB / 1.483 GB, free: 2.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01708/0.5123, allocations: 13.32 MB / 1.496 GB, free: 4.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5123, allocations: 0 / 1.496 GB, free: 4.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 6.191e-06/0.5123, allocations: 4 kB / 1.496 GB, free: 4.906 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0003987/0.5127, allocations: 0 / 1.496 GB, free: 4.906 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02238/0.5351, allocations: 8.638 MB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5351, allocations: 16.03 kB / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002562/0.5377, allocations: 0.8383 MB / 1.506 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.5422, allocations: 0.9527 MB / 1.507 GB, free: 10.36 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/0.5555, allocations: 6.777 MB / 1.513 GB, free: 3.504 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/0.556, allocations: 460.2 kB / 1.514 GB, free: 3.051 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/0.5579, allocations: 0.6014 MB / 1.514 GB, free: 2.449 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.5774, allocations: 9.036 MB / 1.523 GB, free: 9.09 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.5776, allocations: 19.83 kB / 1.523 GB, free: 9.07 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/0.5792, allocations: 264 kB / 1.523 GB, free: 8.812 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.5794, allocations: 187.9 kB / 1.524 GB, free: 8.629 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.5943, allocations: 7.457 MB / 1.531 GB, free: 1.164 MB / 1.217 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.0522/0.6465, allocations: 36.01 MB / 1.566 GB, free: 11.08 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006542/0.653, allocations: 4.003 MB / 1.57 GB, free: 7.074 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004869/0.6579, allocations: 3.035 MB / 1.573 GB, free: 4.035 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.6589, allocations: 210.2 kB / 1.573 GB, free: 3.828 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004319/0.6632, allocations: 2.406 MB / 1.575 GB, free: 1.387 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002285/0.6655, allocations: 393.1 kB / 1.576 GB, free: 1 MB / 1.264 GB Notification: Performance of pre-optimization done (n=317): time 8.035e-06/0.6655, allocations: 0 / 1.576 GB, free: 1 MB / 1.264 GB Notification: Performance of matching and sorting (n=317): time 0.01348/0.679, allocations: 7.004 MB / 1.583 GB, free: 9.945 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.679, allocations: 89.84 kB / 1.583 GB, free: 9.844 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009798/0.6888, allocations: 5.674 MB / 1.588 GB, free: 4.191 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004875/0.6893, allocations: 85.7 kB / 1.588 GB, free: 4.102 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003521/0.6928, allocations: 3.279 MB / 1.592 GB, free: 0.7969 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.6943, allocations: 1.166 MB / 1.593 GB, free: 15.61 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/0.696, allocations: 0.8663 MB / 1.594 GB, free: 14.73 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6961, allocations: 305.1 kB / 1.594 GB, free: 14.43 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/0.6997, allocations: 2.163 MB / 1.596 GB, free: 12.26 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/0.7044, allocations: 3.689 MB / 1.6 GB, free: 7.871 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008662/0.7131, allocations: 6.323 MB / 1.606 GB, free: 0.832 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/0.7131, allocations: 12 kB / 1.606 GB, free: 0.8203 MB / 1.295 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.5925/1.306, allocations: 6.785 MB / 1.612 GB, free: 233.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.271e-05/1.306, allocations: 57.7 kB / 1.612 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-05/1.306, allocations: 51.81 kB / 1.612 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/1.307, allocations: 432.1 kB / 1.613 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/1.31, allocations: 1.005 MB / 1.614 GB, free: 233.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/1.315, allocations: 5.48 MB / 1.619 GB, free: 229.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/1.319, allocations: 288 kB / 1.619 GB, free: 229.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005617/1.32, allocations: 218.3 kB / 1.62 GB, free: 229.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.004761/1.325, allocations: 2.488 MB / 1.622 GB, free: 228.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.326, allocations: 0.5513 MB / 1.623 GB, free: 228.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007934/1.334, allocations: 5.258 MB / 1.628 GB, free: 226.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/1.334, allocations: 34.55 kB / 1.628 GB, free: 226.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.334, allocations: 5.281 kB / 1.628 GB, free: 226.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005906/1.34, allocations: 4.524 MB / 1.632 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.359, allocations: 12.01 MB / 1.644 GB, free: 220.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/1.359, allocations: 1.25 kB / 1.644 GB, free: 220.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/1.362, allocations: 0.6454 MB / 1.645 GB, free: 220.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006855/1.362, allocations: 370.6 kB / 1.645 GB, free: 220.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.363, allocations: 87.83 kB / 1.645 GB, free: 220.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/1.367, allocations: 5.408 MB / 1.65 GB, free: 216.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.367, allocations: 3.938 kB / 1.65 GB, free: 216.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008932/1.375, allocations: 7.787 MB / 1.658 GB, free: 213 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/1.378, allocations: 1.154 MB / 1.659 GB, free: 212.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000677/1.379, allocations: 62.33 kB / 1.659 GB, free: 212.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.381, allocations: 195.8 kB / 1.659 GB, free: 212.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/1.382, allocations: 210.8 kB / 1.66 GB, free: 212 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.382, allocations: 143.8 kB / 1.66 GB, free: 212 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004222/1.386, allocations: 3.969 MB / 1.664 GB, free: 209.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.386, allocations: 3.938 kB / 1.664 GB, free: 209.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004398/1.39, allocations: 2.027 MB / 1.666 GB, free: 209.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.009093/1.399, allocations: 8.719 MB / 1.674 GB, free: 201.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00696/1.406, allocations: 5.241 MB / 1.679 GB, free: 196.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.406, allocations: 4 kB / 1.679 GB, free: 196.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/1.409, allocations: 2.372 MB / 1.681 GB, free: 193.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01169/1.421, allocations: 3.391 MB / 1.685 GB, free: 190.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05834/1.479, allocations: 52.66 MB / 1.736 GB, free: 135.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002832/1.482, allocations: 4.632 MB / 1.741 GB, free: 131.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004909/1.487, allocations: 2.079 MB / 1.743 GB, free: 129.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003396/1.49, allocations: 2.674 MB / 1.745 GB, free: 126.5 MB / 1.295 GB Notification: Performance of SimCode: time 9.32e-07/1.49, allocations: 0 / 1.745 GB, free: 126.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2132/1.703, allocations: 164.3 MB / 1.906 GB, free: 11.37 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/22.28, allocations: 8 kB / 1.906 GB, free: 11.36 MB / 1.342 GB " [Timeout remaining time 278] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.896716341841966]