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.001566/0.001566, 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.001673/0.001673, allocations: 211 kB / 22.24 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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 2.968/2.968, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.001936/0.001936, allocations: 70.67 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3154, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05519/0.3706, allocations: 51.67 MB / 1.414 GB, free: 10.3 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.3938, allocations: 16.85 MB / 1.43 GB, free: 9.398 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.3959, allocations: 103.2 kB / 1.43 GB, free: 9.297 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002115/0.398, allocations: 0.8885 MB / 1.431 GB, free: 8.402 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006388/0.4044, allocations: 2.667 MB / 1.434 GB, free: 5.723 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.4079, allocations: 1.559 MB / 1.435 GB, free: 4.172 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02335/0.4312, allocations: 22.04 MB / 1.457 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00998/0.4412, allocations: 7.093 MB / 1.464 GB, free: 6.855 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.455, allocations: 7.583 MB / 1.471 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01142/0.4664, allocations: 6.904 MB / 1.478 GB, free: 8.363 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00195/0.4684, allocations: 0.9375 MB / 1.479 GB, free: 7.426 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.4728, allocations: 1.577 MB / 1.48 GB, free: 5.848 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00255/0.4754, allocations: 2.433 MB / 1.483 GB, free: 3.406 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.006547/0.4819, allocations: 3.868 MB / 1.487 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.4974, allocations: 13.36 MB / 1.5 GB, free: 2.125 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.4975, allocations: 11.94 kB / 1.5 GB, free: 2.113 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4975, allocations: 0 / 1.5 GB, free: 2.113 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0003615/0.4978, allocations: 4 kB / 1.5 GB, free: 2.109 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.01928/0.5171, allocations: 8.626 MB / 1.508 GB, free: 9.395 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.5171, allocations: 16.03 kB / 1.508 GB, free: 9.379 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001618/0.5188, allocations: 0.846 MB / 1.509 GB, free: 8.523 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.5221, allocations: 0.9566 MB / 1.51 GB, free: 7.562 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.5363, allocations: 6.773 MB / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/0.5367, allocations: 464.2 kB / 1.517 GB, free: 256 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.5378, allocations: 0.5976 MB / 1.517 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.556, allocations: 10.09 MB / 1.527 GB, free: 4.977 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.5561, allocations: 23.86 kB / 1.527 GB, free: 4.953 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000679/0.5568, allocations: 256 kB / 1.528 GB, free: 4.703 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.557, allocations: 183.9 kB / 1.528 GB, free: 4.523 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.5712, allocations: 7.445 MB / 1.535 GB, free: 13.07 MB / 1.232 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.04666/0.6179, allocations: 27.27 MB / 1.562 GB, free: 1.34 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005986/0.6239, allocations: 3.972 MB / 1.566 GB, free: 13.36 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00452/0.6284, allocations: 3.03 MB / 1.569 GB, free: 10.32 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008663/0.6293, allocations: 202.3 kB / 1.569 GB, free: 10.12 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004376/0.6337, allocations: 3.452 MB / 1.572 GB, free: 6.379 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002092/0.6357, allocations: 397.1 kB / 1.572 GB, free: 5.988 MB / 1.264 GB Notification: Performance of pre-optimization done (n=317): time 7.033e-06/0.6358, allocations: 0 / 1.572 GB, free: 5.988 MB / 1.264 GB Notification: Performance of matching and sorting (n=317): time 0.01281/0.6486, allocations: 7 MB / 1.579 GB, free: 14.94 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.6487, allocations: 89.91 kB / 1.579 GB, free: 14.84 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009515/0.6582, allocations: 5.767 MB / 1.585 GB, free: 9.09 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006906/0.6589, allocations: 85.7 kB / 1.585 GB, free: 9 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003364/0.6622, allocations: 3.275 MB / 1.588 GB, free: 5.699 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/0.664, allocations: 1.166 MB / 1.589 GB, free: 4.523 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.6653, allocations: 0.8624 MB / 1.59 GB, free: 3.648 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6654, allocations: 309.1 kB / 1.591 GB, free: 3.344 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003454/0.6688, allocations: 2.189 MB / 1.593 GB, free: 1.141 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/0.6735, allocations: 3.826 MB / 1.596 GB, free: 12.58 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008502/0.682, allocations: 6.327 MB / 1.603 GB, free: 5.539 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/0.682, allocations: 16 kB / 1.603 GB, free: 5.523 MB / 1.295 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.5577/1.24, allocations: 6.809 MB / 1.609 GB, free: 223 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/1.24, allocations: 54.92 kB / 1.609 GB, free: 223 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.256e-05/1.24, allocations: 49.06 kB / 1.609 GB, free: 223 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000962/1.241, allocations: 438.8 kB / 1.61 GB, free: 223 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003934/1.245, allocations: 1.007 MB / 1.611 GB, free: 223 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005296/1.25, allocations: 5.423 MB / 1.616 GB, free: 220.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/1.255, allocations: 284.4 kB / 1.616 GB, free: 220.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005899/1.255, allocations: 216.8 kB / 1.617 GB, free: 220.3 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.004745/1.26, allocations: 2.487 MB / 1.619 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/1.261, allocations: 0.5559 MB / 1.62 GB, free: 219.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008978/1.27, allocations: 5.258 MB / 1.625 GB, free: 217.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/1.271, allocations: 35.27 kB / 1.625 GB, free: 217.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.271, allocations: 4.812 kB / 1.625 GB, free: 217.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00589/1.276, allocations: 4.514 MB / 1.629 GB, free: 215.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/1.298, allocations: 11.09 MB / 1.64 GB, free: 211.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.298, allocations: 1.156 kB / 1.64 GB, free: 211.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/1.3, allocations: 0.6442 MB / 1.641 GB, free: 211.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008265/1.301, allocations: 370.1 kB / 1.641 GB, free: 211.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.301, allocations: 83.05 kB / 1.641 GB, free: 211.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/1.306, allocations: 5.338 MB / 1.646 GB, free: 207.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.306, allocations: 2.188 kB / 1.646 GB, free: 207.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.317, allocations: 7.75 MB / 1.654 GB, free: 204.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/1.32, allocations: 1.148 MB / 1.655 GB, free: 204.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008318/1.321, allocations: 71.25 kB / 1.655 GB, free: 204.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/1.323, allocations: 193 kB / 1.655 GB, free: 204.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/1.324, allocations: 212 kB / 1.655 GB, free: 204.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/1.324, allocations: 137.1 kB / 1.656 GB, free: 204.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00455/1.329, allocations: 3.97 MB / 1.659 GB, free: 202.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.329, allocations: 0 / 1.659 GB, free: 202.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004894/1.333, allocations: 2.034 MB / 1.661 GB, free: 202.6 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.009761/1.343, allocations: 8.675 MB / 1.67 GB, free: 198.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006475/1.35, allocations: 5.264 MB / 1.675 GB, free: 192.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.35, allocations: 4 kB / 1.675 GB, free: 192.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/1.352, allocations: 2.365 MB / 1.677 GB, free: 190.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01344/1.366, allocations: 3.379 MB / 1.681 GB, free: 187.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06027/1.426, allocations: 52.76 MB / 1.732 GB, free: 132.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/1.429, allocations: 4.144 MB / 1.736 GB, free: 128.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004956/1.434, allocations: 2.073 MB / 1.738 GB, free: 126.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002875/1.437, allocations: 2.674 MB / 1.741 GB, free: 123.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.173e-06/1.437, allocations: 0 / 1.741 GB, free: 123.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2182/1.655, allocations: 171.1 MB / 1.908 GB, free: 2.402 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.54/19.2, allocations: 3.938 kB / 1.908 GB, free: 2.398 MB / 1.342 GB " [Timeout remaining time 281] (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: 25.746206864714622]